From b14dd0f960bc86346c87bde378b3c73dda9e89d6 Mon Sep 17 00:00:00 2001 From: Lin Date: Wed, 24 May 2023 11:12:25 -0400 Subject: [PATCH] fix typos in filters and add undoRedo --- docs/add-functionality/filters.md | 4 ++-- docs/add-functionality/methods-and-properties.md | 2 ++ docs/embed-library-main-page/embed-custom-ui-on-all-pages.md | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/add-functionality/filters.md b/docs/add-functionality/filters.md index 7bccf44..11297dd 100644 --- a/docs/add-functionality/filters.md +++ b/docs/add-functionality/filters.md @@ -570,7 +570,7 @@ or After an embedded dossier has been rendered, you can apply different kinds of filters to chapters in the dossier using methods on the Embedding SDK. In this release, `getFilterList()` only exposes filters defined in the current chapter. -### Dossier.filterSelectAllAttributeElements(filterJson) +### Dossier.filterSelectAllAttributes(filterJson) Select all the attributes for the filter with `key` and apply the change immediately. @@ -585,7 +585,7 @@ Select all the attributes for the filter with `key` and apply the change immedia } ``` -### Dossier.filterDeselectAllAttributeElements(filterJson) +### Dossier.filterDeselectAllAttributes(filterJson) Deselect all the attributes for the filter with `key` and save the change to client side. diff --git a/docs/add-functionality/methods-and-properties.md b/docs/add-functionality/methods-and-properties.md index 0b3cd86..bfd720d 100644 --- a/docs/add-functionality/methods-and-properties.md +++ b/docs/add-functionality/methods-and-properties.md @@ -608,6 +608,7 @@ Use the `navigationBar` object to customize the navigation bar on the page. All - `filter` - Show or hide the filter icon. The default is `true`. - `options` - Show or hide the options icon. The default is `true`. - `bookmark` - Show or hide the bookmark icon. The default is `true`. +- `undoRedo` - Show or hide the undo and redo buttons. The default is `true`. - `edit` - Show or hide the edit icon. The default is `false`. #### Required? @@ -640,6 +641,7 @@ microstrategy.dossier.create({ filter: true, options: true, bookmark: true, + undoRedo: true, edit: false, }, }); diff --git a/docs/embed-library-main-page/embed-custom-ui-on-all-pages.md b/docs/embed-library-main-page/embed-custom-ui-on-all-pages.md index 61c9bba..9b7eabd 100644 --- a/docs/embed-library-main-page/embed-custom-ui-on-all-pages.md +++ b/docs/embed-library-main-page/embed-custom-ui-on-all-pages.md @@ -68,6 +68,7 @@ microstrategy.embeddingContexts.embedLibraryPage({ options: true, search: false, bookmark: true, + undoRedo: true, edit: false, }, }, @@ -259,6 +260,9 @@ Use the `navigationBar` object to customize the navigation bar on the page. All - `bookmark` - Show or hide the bookmark icon. - Default value: `true`. +- `undoRedo` + - Show or hide the undo and redo buttons. + - Default value: `true`. - `edit` - Show or hide the edit icon. - Default value: `false`.