ViewSelector Class
Beta
View Selector React component
Extends
- Component<ViewSelectorProps, ViewSelectorState>
Methods
| Name | Description | |
|---|---|---|
| constructor(props: ViewSelectorProps): ViewSelector | Creates a ViewSelector | |
| componentDidMount(): Promise<void> | ||
| componentDidUpdate(prevProps: ViewSelectorProps): Promise<void> | ||
| componentWillUnmount(): void | ||
| loadViews(): Promise<void> | Query the views and set the initial state with the iModel's views. | |
| render(): | Element | Renders ViewSelector component | |
| updateState(viewId?: any): Promise<void> | Update state of the entries in the widget. | |
| updateShowSettings(showSpatials: boolean, showDrawings: boolean, showSheets: boolean, showUnknown: boolean): void Static | Updates the ViewSelector show settings. |
Properties
| Name | Type | Description | |
|---|---|---|---|
| defaultProps StaticReadonly | ViewSelectorDefaultProps | ||
| onViewSelectorChangedEvent StaticReadonly | ViewSelectorChangedEvent | Gets the ViewSelectorChangedEvent |
Defined in
Last Updated: 30 November, 2023