You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom rendering of a More actions button that displays a context menu for each term in the term set and the term set itself and with different options for the terms and the term set. This could for example be used to add terms to an open term set. It also shows how to set the initialsValues property when just knowing the name and the id of the term.
The ModernTaxonomyPicker control can be configured with the following properties:
@@ -70,5 +173,54 @@ The ModernTaxonomyPicker control can be configured with the following properties
70
173
| customPanelWidth | number | no | Custom panel width in pixels. |
71
174
| termPickerProps | IModernTermPickerProps | no | Custom properties for the term picker (More info: [IBasePickerProps interface](https://developer.microsoft.com/en-us/fluentui#/controls/web/pickers#IBasePickerProps)). |
72
175
| themeVariant | IReadonlyTheme | no | The current loaded SharePoint theme/section background (More info: [Supporting section backgrounds](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/supporting-section-backgrounds)). |
176
+
| isLightDismiss | boolean | no | Whether the panel can be light dismissed. |
177
+
| isBlocking | boolean | no | Whether the panel uses a modal overlay or not. |
178
+
| onRenderActionButton | function | no | Optional custom renderer for adding e.g. a button with additional actions to the terms in the tree view. |
179
+
180
+
## Standalone TaxonomyTree control
181
+
182
+
You can also use the `TaxonomyTree` control separately to just render a stand-alone tree-view of a term set with action buttons.
183
+
184
+
- Use the `TaxonomyTree` control in your code as follows:
185
+
Initialize the taxonomy service and state, load basic info from term store and display the `TaxonomyTree` component.
0 commit comments