Inherited from # LensExtension.getExtensionFileFolder navigate # \u25b8 navigate ( pageId? , params? , frameId? ): Promise Type parameters # Name Type P P : object Parameters # Name Type pageId? string params? P frameId? number Returns # Promise onActivate # \u25b8 Protected onActivate (): void | Promise Returns # void | Promise Inherited from # LensExtension.onActivate onDeactivate # \u25b8 Protected onDeactivate (): void | Promise Returns # void | Promise Inherited from # LensExtension.onDeactivate removeCatalogSource # \u25b8 removeCatalogSource ( id ): void Parameters # Name Type id string Returns # void","title":"Class: LensExtension"},{"location":"extensions/api/classes/main.lensextension/#class-lensextension","text":"Main .LensExtension","title":"Class: LensExtension"},{"location":"extensions/api/classes/main.lensextension/#hierarchy","text":"LensExtension \u21b3 LensExtension","title":"Hierarchy"},{"location":"extensions/api/classes/main.lensextension/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/main.lensextension/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/main.lensextension/#properties","text":"[Disposers] appMenus id isBundled manifest manifestPath protocolHandlers","title":"Properties"},{"location":"extensions/api/classes/main.lensextension/#accessors","text":"description name version","title":"Accessors"},{"location":"extensions/api/classes/main.lensextension/#methods","text":"addCatalogSource disable enable getExtensionFileFolder navigate onActivate onDeactivate removeCatalogSource","title":"Methods"},{"location":"extensions/api/classes/main.lensextension/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/main.lensextension/#constructor","text":"\u2022 new LensExtension ( __namedParameters )","title":"constructor"},{"location":"extensions/api/classes/main.lensextension/#properties_1","text":"","title":"Properties"},{"location":"extensions/api/classes/main.lensextension/#disposers","text":"\u2022 [Disposers] : ExtendableDisposer","title":"[Disposers]"},{"location":"extensions/api/classes/main.lensextension/#appmenus","text":"\u2022 appMenus : MenuRegistration [] = []","title":"appMenus"},{"location":"extensions/api/classes/main.lensextension/#id","text":"\u2022 Readonly id : string","title":"id"},{"location":"extensions/api/classes/main.lensextension/#isbundled","text":"\u2022 Readonly isBundled : boolean","title":"isBundled"},{"location":"extensions/api/classes/main.lensextension/#manifest","text":"\u2022 Readonly manifest : LensExtensionManifest","title":"manifest"},{"location":"extensions/api/classes/main.lensextension/#manifestpath","text":"\u2022 Readonly manifestPath : string","title":"manifestPath"},{"location":"extensions/api/classes/main.lensextension/#protocolhandlers","text":"\u2022 protocolHandlers : ProtocolHandlerRegistration [] = []","title":"protocolHandlers"},{"location":"extensions/api/classes/main.lensextension/#accessors_1","text":"","title":"Accessors"},{"location":"extensions/api/classes/main.lensextension/#description","text":"\u2022 get description (): string","title":"description"},{"location":"extensions/api/classes/main.lensextension/#name","text":"\u2022 get name (): string","title":"name"},{"location":"extensions/api/classes/main.lensextension/#version","text":"\u2022 get version (): string","title":"version"},{"location":"extensions/api/classes/main.lensextension/#methods_1","text":"","title":"Methods"},{"location":"extensions/api/classes/main.lensextension/#addcatalogsource","text":"\u25b8 addCatalogSource ( id , source ): void","title":"addCatalogSource"},{"location":"extensions/api/classes/main.lensextension/#disable","text":"\u25b8 disable (): Promise ","title":"disable"},{"location":"extensions/api/classes/main.lensextension/#enable","text":"\u25b8 enable ( register ): Promise ","title":"enable"},{"location":"extensions/api/classes/main.lensextension/#getextensionfilefolder","text":"\u25b8 getExtensionFileFolder (): Promise getExtensionFileFolder returns the path to an already created folder. This folder is for the sole use of this extension. Note: there is no security done on this folder, only obfiscation of the folder name.","title":"getExtensionFileFolder"},{"location":"extensions/api/classes/main.lensextension/#navigate","text":"\u25b8 navigate ( pageId? , params? , frameId? ): Promise ","title":"navigate"},{"location":"extensions/api/classes/main.lensextension/#onactivate","text":"\u25b8 Protected onActivate (): void | Promise ","title":"onActivate"},{"location":"extensions/api/classes/main.lensextension/#ondeactivate","text":"\u25b8 Protected onDeactivate (): void | Promise ","title":"onDeactivate"},{"location":"extensions/api/classes/main.lensextension/#removecatalogsource","text":"\u25b8 removeCatalogSource ( id ): void","title":"removeCatalogSource"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/","text":"Class: CatalogEntityRegistry # Renderer . Catalog .CatalogEntityRegistry Table of contents # Constructors # constructor Accessors # activeEntity entities Methods # getById getItemsForApiKind getItemsForCategory Constructors # constructor # \u2022 new CatalogEntityRegistry () Accessors # activeEntity # \u2022 get activeEntity (): CatalogEntity < CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec > Currently active/visible entity Returns # CatalogEntity < CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec > entities # \u2022 get entities (): Map > Returns # Map > Methods # getById # \u25b8 getById ( id ): CatalogEntity < CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec > Parameters # Name Type id string Returns # CatalogEntity < CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec > getItemsForApiKind # \u25b8 getItemsForApiKind ( apiVersion , kind ): T [] Type parameters # Name Type T T : CatalogEntity < CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec , T> Parameters # Name Type apiVersion string kind string Returns # T [] getItemsForCategory # \u25b8 getItemsForCategory ( category ): T [] Type parameters # Name Type T T : CatalogEntity < CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec , T> Parameters # Name Type category CatalogCategory Returns # T []","title":"Class: CatalogEntityRegistry"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#class-catalogentityregistry","text":"Renderer . Catalog .CatalogEntityRegistry","title":"Class: CatalogEntityRegistry"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#accessors","text":"activeEntity entities","title":"Accessors"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#methods","text":"getById getItemsForApiKind getItemsForCategory","title":"Methods"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#constructor","text":"\u2022 new CatalogEntityRegistry ()","title":"constructor"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#accessors_1","text":"","title":"Accessors"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#activeentity","text":"\u2022 get activeEntity (): CatalogEntity < CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec > Currently active/visible entity","title":"activeEntity"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#entities","text":"\u2022 get entities (): Map >","title":"entities"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#methods_1","text":"","title":"Methods"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#getbyid","text":"\u25b8 getById ( id ): CatalogEntity < CatalogEntityMetadata , CatalogEntityStatus , CatalogEntitySpec >","title":"getById"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#getitemsforapikind","text":"\u25b8 getItemsForApiKind ( apiVersion , kind ): T []","title":"getItemsForApiKind"},{"location":"extensions/api/classes/renderer.catalog.catalogentityregistry/#getitemsforcategory","text":"\u25b8 getItemsForCategory ( category ): T []","title":"getItemsForCategory"},{"location":"extensions/api/classes/renderer.component.badge/","text":"Class: Badge # Renderer . Component .Badge Hierarchy # Component < BadgeProps > \u21b3 Badge Table of contents # Constructors # constructor Properties # context props refs state contextType Methods # UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate render setState shouldComponentUpdate Constructors # constructor # \u2022 new Badge ( props ) Parameters # Name Type props BadgeProps | Readonly < BadgeProps > Inherited from # React.Component.constructor \u2022 new Badge ( props , context ) deprecated see https://reactjs.org/docs/legacy-context.html Parameters # Name Type props BadgeProps context any Inherited from # React.Component.constructor Properties # context # \u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html Inherited from # React.Component.context props # \u2022 Readonly props : Readonly < BadgeProps > & Readonly < Object > Inherited from # React.Component.props refs # \u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs Index signature # \u25aa [key: string ]: ReactInstance Inherited from # React.Component.refs state # \u2022 state : Readonly < Object > Inherited from # React.Component.state contextType # \u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype Inherited from # React.Component.contextType Methods # UNSAFE_componentWillMount # \u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.Component.UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps # \u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < BadgeProps > nextContext any Returns # void Inherited from # React.Component.UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate # \u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < BadgeProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.Component.UNSAFE_componentWillUpdate componentDidCatch # \u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount. Parameters # Name Type error Error errorInfo ErrorInfo Returns # void Inherited from # React.Component.componentDidCatch componentDidMount # \u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering. Returns # void Inherited from # React.Component.componentDidMount componentDidUpdate # \u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null. Parameters # Name Type prevProps Readonly < BadgeProps > prevState Readonly < Object > snapshot? any Returns # void Inherited from # React.Component.componentDidUpdate componentWillMount # \u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.Component.componentWillMount componentWillReceiveProps # \u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < BadgeProps > nextContext any Returns # void Inherited from # React.Component.componentWillReceiveProps componentWillUnmount # \u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount . Returns # void Inherited from # React.Component.componentWillUnmount componentWillUpdate # \u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < BadgeProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.Component.componentWillUpdate forceUpdate # \u25b8 forceUpdate ( callback? ): void Parameters # Name Type callback? () => void Returns # void Inherited from # React.Component.forceUpdate getSnapshotBeforeUpdate # \u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running. Parameters # Name Type prevProps Readonly < BadgeProps > prevState Readonly < Object > Returns # any Inherited from # React.Component.getSnapshotBeforeUpdate render # \u25b8 render (): Element Returns # Element Overrides # React.Component.render setState # \u25b8 setState ( state , callback? ): void Type parameters # Name Type K K : never Parameters # Name Type state {} | ( prevState : Readonly < Object >, props : Readonly < BadgeProps >) => {} | Pick < Object , K> | Pick < Object , K> callback? () => void Returns # void Inherited from # React.Component.setState shouldComponentUpdate # \u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called. Parameters # Name Type nextProps Readonly < BadgeProps > nextState Readonly < Object > nextContext any Returns # boolean Inherited from # React.Component.shouldComponentUpdate","title":"Class: Badge"},{"location":"extensions/api/classes/renderer.component.badge/#class-badge","text":"Renderer . Component .Badge","title":"Class: Badge"},{"location":"extensions/api/classes/renderer.component.badge/#hierarchy","text":"Component < BadgeProps > \u21b3 Badge","title":"Hierarchy"},{"location":"extensions/api/classes/renderer.component.badge/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/renderer.component.badge/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.badge/#properties","text":"context props refs state contextType","title":"Properties"},{"location":"extensions/api/classes/renderer.component.badge/#methods","text":"UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate render setState shouldComponentUpdate","title":"Methods"},{"location":"extensions/api/classes/renderer.component.badge/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.badge/#constructor","text":"\u2022 new Badge ( props )","title":"constructor"},{"location":"extensions/api/classes/renderer.component.badge/#properties_1","text":"","title":"Properties"},{"location":"extensions/api/classes/renderer.component.badge/#context","text":"\u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html","title":"context"},{"location":"extensions/api/classes/renderer.component.badge/#props","text":"\u2022 Readonly props : Readonly < BadgeProps > & Readonly < Object >","title":"props"},{"location":"extensions/api/classes/renderer.component.badge/#refs","text":"\u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs","title":"refs"},{"location":"extensions/api/classes/renderer.component.badge/#state","text":"\u2022 state : Readonly < Object >","title":"state"},{"location":"extensions/api/classes/renderer.component.badge/#contexttype","text":"\u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype","title":"contextType"},{"location":"extensions/api/classes/renderer.component.badge/#methods_1","text":"","title":"Methods"},{"location":"extensions/api/classes/renderer.component.badge/#unsafe_componentwillmount","text":"\u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillMount"},{"location":"extensions/api/classes/renderer.component.badge/#unsafe_componentwillreceiveprops","text":"\u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.badge/#unsafe_componentwillupdate","text":"\u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.badge/#componentdidcatch","text":"\u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.","title":"componentDidCatch"},{"location":"extensions/api/classes/renderer.component.badge/#componentdidmount","text":"\u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering.","title":"componentDidMount"},{"location":"extensions/api/classes/renderer.component.badge/#componentdidupdate","text":"\u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.","title":"componentDidUpdate"},{"location":"extensions/api/classes/renderer.component.badge/#componentwillmount","text":"\u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillMount"},{"location":"extensions/api/classes/renderer.component.badge/#componentwillreceiveprops","text":"\u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.badge/#componentwillunmount","text":"\u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount .","title":"componentWillUnmount"},{"location":"extensions/api/classes/renderer.component.badge/#componentwillupdate","text":"\u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.badge/#forceupdate","text":"\u25b8 forceUpdate ( callback? ): void","title":"forceUpdate"},{"location":"extensions/api/classes/renderer.component.badge/#getsnapshotbeforeupdate","text":"\u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.","title":"getSnapshotBeforeUpdate"},{"location":"extensions/api/classes/renderer.component.badge/#render","text":"\u25b8 render (): Element","title":"render"},{"location":"extensions/api/classes/renderer.component.badge/#setstate","text":"\u25b8 setState ( state , callback? ): void","title":"setState"},{"location":"extensions/api/classes/renderer.component.badge/#shouldcomponentupdate","text":"\u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called.","title":"shouldComponentUpdate"},{"location":"extensions/api/classes/renderer.component.barchart/","text":"Class: BarChart # Renderer . Component .BarChart Hierarchy # Component \u21b3 BarChart Table of contents # Constructors # constructor Properties # context props refs state contextType defaultProps Methods # UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate render setState shouldComponentUpdate Constructors # constructor # \u2022 new BarChart ( props ) Parameters # Name Type props Props | Readonly Inherited from # React.Component.constructor \u2022 new BarChart ( props , context ) deprecated see https://reactjs.org/docs/legacy-context.html Parameters # Name Type props Props context any Inherited from # React.Component.constructor Properties # context # \u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html Inherited from # React.Component.context props # \u2022 Readonly props : Readonly & Readonly < Object > Inherited from # React.Component.props refs # \u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs Index signature # \u25aa [key: string ]: ReactInstance Inherited from # React.Component.refs state # \u2022 state : Readonly < Object > Inherited from # React.Component.state contextType # \u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype Inherited from # React.Component.contextType defaultProps # \u25aa Static defaultProps : object Methods # UNSAFE_componentWillMount # \u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.Component.UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps # \u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly nextContext any Returns # void Inherited from # React.Component.UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate # \u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly nextState Readonly < Object > nextContext any Returns # void Inherited from # React.Component.UNSAFE_componentWillUpdate componentDidCatch # \u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount. Parameters # Name Type error Error errorInfo ErrorInfo Returns # void Inherited from # React.Component.componentDidCatch componentDidMount # \u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering. Returns # void Inherited from # React.Component.componentDidMount componentDidUpdate # \u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null. Parameters # Name Type prevProps Readonly prevState Readonly < Object > snapshot? any Returns # void Inherited from # React.Component.componentDidUpdate componentWillMount # \u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.Component.componentWillMount componentWillReceiveProps # \u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly nextContext any Returns # void Inherited from # React.Component.componentWillReceiveProps componentWillUnmount # \u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount . Returns # void Inherited from # React.Component.componentWillUnmount componentWillUpdate # \u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly nextState Readonly < Object > nextContext any Returns # void Inherited from # React.Component.componentWillUpdate forceUpdate # \u25b8 forceUpdate ( callback? ): void Parameters # Name Type callback? () => void Returns # void Inherited from # React.Component.forceUpdate getSnapshotBeforeUpdate # \u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running. Parameters # Name Type prevProps Readonly prevState Readonly < Object > Returns # any Inherited from # React.Component.getSnapshotBeforeUpdate render # \u25b8 render (): Element Returns # Element Overrides # React.Component.render setState # \u25b8 setState ( state , callback? ): void Type parameters # Name Type K K : never Parameters # Name Type state {} | ( prevState : Readonly < Object >, props : Readonly ) => {} | Pick < Object , K> | Pick < Object , K> callback? () => void Returns # void Inherited from # React.Component.setState shouldComponentUpdate # \u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called. Parameters # Name Type nextProps Readonly nextState Readonly < Object > nextContext any Returns # boolean Inherited from # React.Component.shouldComponentUpdate","title":"Class: BarChart"},{"location":"extensions/api/classes/renderer.component.barchart/#class-barchart","text":"Renderer . Component .BarChart","title":"Class: BarChart"},{"location":"extensions/api/classes/renderer.component.barchart/#hierarchy","text":"Component \u21b3 BarChart","title":"Hierarchy"},{"location":"extensions/api/classes/renderer.component.barchart/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/renderer.component.barchart/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.barchart/#properties","text":"context props refs state contextType defaultProps","title":"Properties"},{"location":"extensions/api/classes/renderer.component.barchart/#methods","text":"UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate render setState shouldComponentUpdate","title":"Methods"},{"location":"extensions/api/classes/renderer.component.barchart/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.barchart/#constructor","text":"\u2022 new BarChart ( props )","title":"constructor"},{"location":"extensions/api/classes/renderer.component.barchart/#properties_1","text":"","title":"Properties"},{"location":"extensions/api/classes/renderer.component.barchart/#context","text":"\u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html","title":"context"},{"location":"extensions/api/classes/renderer.component.barchart/#props","text":"\u2022 Readonly props : Readonly & Readonly < Object >","title":"props"},{"location":"extensions/api/classes/renderer.component.barchart/#refs","text":"\u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs","title":"refs"},{"location":"extensions/api/classes/renderer.component.barchart/#state","text":"\u2022 state : Readonly < Object >","title":"state"},{"location":"extensions/api/classes/renderer.component.barchart/#contexttype","text":"\u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype","title":"contextType"},{"location":"extensions/api/classes/renderer.component.barchart/#defaultprops","text":"\u25aa Static defaultProps : object","title":"defaultProps"},{"location":"extensions/api/classes/renderer.component.barchart/#methods_1","text":"","title":"Methods"},{"location":"extensions/api/classes/renderer.component.barchart/#unsafe_componentwillmount","text":"\u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillMount"},{"location":"extensions/api/classes/renderer.component.barchart/#unsafe_componentwillreceiveprops","text":"\u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.barchart/#unsafe_componentwillupdate","text":"\u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.barchart/#componentdidcatch","text":"\u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.","title":"componentDidCatch"},{"location":"extensions/api/classes/renderer.component.barchart/#componentdidmount","text":"\u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering.","title":"componentDidMount"},{"location":"extensions/api/classes/renderer.component.barchart/#componentdidupdate","text":"\u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.","title":"componentDidUpdate"},{"location":"extensions/api/classes/renderer.component.barchart/#componentwillmount","text":"\u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillMount"},{"location":"extensions/api/classes/renderer.component.barchart/#componentwillreceiveprops","text":"\u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.barchart/#componentwillunmount","text":"\u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount .","title":"componentWillUnmount"},{"location":"extensions/api/classes/renderer.component.barchart/#componentwillupdate","text":"\u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.barchart/#forceupdate","text":"\u25b8 forceUpdate ( callback? ): void","title":"forceUpdate"},{"location":"extensions/api/classes/renderer.component.barchart/#getsnapshotbeforeupdate","text":"\u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.","title":"getSnapshotBeforeUpdate"},{"location":"extensions/api/classes/renderer.component.barchart/#render","text":"\u25b8 render (): Element","title":"render"},{"location":"extensions/api/classes/renderer.component.barchart/#setstate","text":"\u25b8 setState ( state , callback? ): void","title":"setState"},{"location":"extensions/api/classes/renderer.component.barchart/#shouldcomponentupdate","text":"\u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called.","title":"shouldComponentUpdate"},{"location":"extensions/api/classes/renderer.component.button/","text":"Class: Button # Renderer . Component .Button Hierarchy # PureComponent < ButtonProps , Object > \u21b3 Button Table of contents # Constructors # constructor Properties # context props refs state contextType Methods # UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate render setState shouldComponentUpdate Constructors # constructor # \u2022 new Button ( props ) Parameters # Name Type props ButtonProps | Readonly < ButtonProps > Inherited from # React.PureComponent.constructor \u2022 new Button ( props , context ) deprecated see https://reactjs.org/docs/legacy-context.html Parameters # Name Type props ButtonProps context any Inherited from # React.PureComponent.constructor Properties # context # \u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html Inherited from # React.PureComponent.context props # \u2022 Readonly props : Readonly < ButtonProps > & Readonly < Object > Inherited from # React.PureComponent.props refs # \u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs Index signature # \u25aa [key: string ]: ReactInstance Inherited from # React.PureComponent.refs state # \u2022 state : Readonly < Object > Inherited from # React.PureComponent.state contextType # \u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype Inherited from # React.PureComponent.contextType Methods # UNSAFE_componentWillMount # \u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.PureComponent.UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps # \u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < ButtonProps > nextContext any Returns # void Inherited from # React.PureComponent.UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate # \u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < ButtonProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.PureComponent.UNSAFE_componentWillUpdate componentDidCatch # \u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount. Parameters # Name Type error Error errorInfo ErrorInfo Returns # void Inherited from # React.PureComponent.componentDidCatch componentDidMount # \u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering. Returns # void Inherited from # React.PureComponent.componentDidMount componentDidUpdate # \u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null. Parameters # Name Type prevProps Readonly < ButtonProps > prevState Readonly < Object > snapshot? any Returns # void Inherited from # React.PureComponent.componentDidUpdate componentWillMount # \u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.PureComponent.componentWillMount componentWillReceiveProps # \u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < ButtonProps > nextContext any Returns # void Inherited from # React.PureComponent.componentWillReceiveProps componentWillUnmount # \u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount . Returns # void Inherited from # React.PureComponent.componentWillUnmount componentWillUpdate # \u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < ButtonProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.PureComponent.componentWillUpdate forceUpdate # \u25b8 forceUpdate ( callback? ): void Parameters # Name Type callback? () => void Returns # void Inherited from # React.PureComponent.forceUpdate getSnapshotBeforeUpdate # \u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running. Parameters # Name Type prevProps Readonly < ButtonProps > prevState Readonly < Object > Returns # any Inherited from # React.PureComponent.getSnapshotBeforeUpdate render # \u25b8 render (): Element Returns # Element Overrides # React.PureComponent.render setState # \u25b8 setState ( state , callback? ): void Type parameters # Name Type K K : never Parameters # Name Type state {} | ( prevState : Readonly < Object >, props : Readonly < ButtonProps >) => {} | Pick < Object , K> | Pick < Object , K> callback? () => void Returns # void Inherited from # React.PureComponent.setState shouldComponentUpdate # \u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called. Parameters # Name Type nextProps Readonly < ButtonProps > nextState Readonly < Object > nextContext any Returns # boolean Inherited from # React.PureComponent.shouldComponentUpdate","title":"Class: Button"},{"location":"extensions/api/classes/renderer.component.button/#class-button","text":"Renderer . Component .Button","title":"Class: Button"},{"location":"extensions/api/classes/renderer.component.button/#hierarchy","text":"PureComponent < ButtonProps , Object > \u21b3 Button","title":"Hierarchy"},{"location":"extensions/api/classes/renderer.component.button/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/renderer.component.button/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.button/#properties","text":"context props refs state contextType","title":"Properties"},{"location":"extensions/api/classes/renderer.component.button/#methods","text":"UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate render setState shouldComponentUpdate","title":"Methods"},{"location":"extensions/api/classes/renderer.component.button/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.button/#constructor","text":"\u2022 new Button ( props )","title":"constructor"},{"location":"extensions/api/classes/renderer.component.button/#properties_1","text":"","title":"Properties"},{"location":"extensions/api/classes/renderer.component.button/#context","text":"\u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html","title":"context"},{"location":"extensions/api/classes/renderer.component.button/#props","text":"\u2022 Readonly props : Readonly < ButtonProps > & Readonly < Object >","title":"props"},{"location":"extensions/api/classes/renderer.component.button/#refs","text":"\u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs","title":"refs"},{"location":"extensions/api/classes/renderer.component.button/#state","text":"\u2022 state : Readonly < Object >","title":"state"},{"location":"extensions/api/classes/renderer.component.button/#contexttype","text":"\u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype","title":"contextType"},{"location":"extensions/api/classes/renderer.component.button/#methods_1","text":"","title":"Methods"},{"location":"extensions/api/classes/renderer.component.button/#unsafe_componentwillmount","text":"\u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillMount"},{"location":"extensions/api/classes/renderer.component.button/#unsafe_componentwillreceiveprops","text":"\u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.button/#unsafe_componentwillupdate","text":"\u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.button/#componentdidcatch","text":"\u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.","title":"componentDidCatch"},{"location":"extensions/api/classes/renderer.component.button/#componentdidmount","text":"\u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering.","title":"componentDidMount"},{"location":"extensions/api/classes/renderer.component.button/#componentdidupdate","text":"\u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.","title":"componentDidUpdate"},{"location":"extensions/api/classes/renderer.component.button/#componentwillmount","text":"\u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillMount"},{"location":"extensions/api/classes/renderer.component.button/#componentwillreceiveprops","text":"\u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.button/#componentwillunmount","text":"\u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount .","title":"componentWillUnmount"},{"location":"extensions/api/classes/renderer.component.button/#componentwillupdate","text":"\u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.button/#forceupdate","text":"\u25b8 forceUpdate ( callback? ): void","title":"forceUpdate"},{"location":"extensions/api/classes/renderer.component.button/#getsnapshotbeforeupdate","text":"\u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.","title":"getSnapshotBeforeUpdate"},{"location":"extensions/api/classes/renderer.component.button/#render","text":"\u25b8 render (): Element","title":"render"},{"location":"extensions/api/classes/renderer.component.button/#setstate","text":"\u25b8 setState ( state , callback? ): void","title":"setState"},{"location":"extensions/api/classes/renderer.component.button/#shouldcomponentupdate","text":"\u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called.","title":"shouldComponentUpdate"},{"location":"extensions/api/classes/renderer.component.checkbox/","text":"Class: Checkbox # Renderer . Component .Checkbox Hierarchy # PureComponent < CheckboxProps > \u21b3 Checkbox Table of contents # Constructors # constructor Properties # context props refs state contextType Methods # UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate getValue onChange render setState shouldComponentUpdate Constructors # constructor # \u2022 new Checkbox ( props ) Parameters # Name Type props CheckboxProps | Readonly < CheckboxProps > Inherited from # React.PureComponent.constructor \u2022 new Checkbox ( props , context ) deprecated see https://reactjs.org/docs/legacy-context.html Parameters # Name Type props CheckboxProps context any Inherited from # React.PureComponent.constructor Properties # context # \u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html Inherited from # React.PureComponent.context props # \u2022 Readonly props : Readonly < CheckboxProps > & Readonly < Object > Inherited from # React.PureComponent.props refs # \u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs Index signature # \u25aa [key: string ]: ReactInstance Inherited from # React.PureComponent.refs state # \u2022 state : Readonly < Object > Inherited from # React.PureComponent.state contextType # \u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype Inherited from # React.PureComponent.contextType Methods # UNSAFE_componentWillMount # \u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.PureComponent.UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps # \u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < CheckboxProps > nextContext any Returns # void Inherited from # React.PureComponent.UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate # \u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < CheckboxProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.PureComponent.UNSAFE_componentWillUpdate componentDidCatch # \u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount. Parameters # Name Type error Error errorInfo ErrorInfo Returns # void Inherited from # React.PureComponent.componentDidCatch componentDidMount # \u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering. Returns # void Inherited from # React.PureComponent.componentDidMount componentDidUpdate # \u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null. Parameters # Name Type prevProps Readonly < CheckboxProps > prevState Readonly < Object > snapshot? any Returns # void Inherited from # React.PureComponent.componentDidUpdate componentWillMount # \u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.PureComponent.componentWillMount componentWillReceiveProps # \u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < CheckboxProps > nextContext any Returns # void Inherited from # React.PureComponent.componentWillReceiveProps componentWillUnmount # \u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount . Returns # void Inherited from # React.PureComponent.componentWillUnmount componentWillUpdate # \u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < CheckboxProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.PureComponent.componentWillUpdate forceUpdate # \u25b8 forceUpdate ( callback? ): void Parameters # Name Type callback? () => void Returns # void Inherited from # React.PureComponent.forceUpdate getSnapshotBeforeUpdate # \u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running. Parameters # Name Type prevProps Readonly < CheckboxProps > prevState Readonly < Object > Returns # any Inherited from # React.PureComponent.getSnapshotBeforeUpdate getValue # \u25b8 getValue (): boolean Returns # boolean onChange # \u25b8 onChange ( evt ): void Parameters # Name Type evt ChangeEvent Returns # void render # \u25b8 render (): Element Returns # Element Overrides # React.PureComponent.render setState # \u25b8 setState ( state , callback? ): void Type parameters # Name Type K K : never Parameters # Name Type state {} | ( prevState : Readonly < Object >, props : Readonly < CheckboxProps \\>) => {} | Pick < Object , K> | Pick < Object , K> callback? () => void Returns # void Inherited from # React.PureComponent.setState shouldComponentUpdate # \u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called. Parameters # Name Type nextProps Readonly < CheckboxProps > nextState Readonly < Object > nextContext any Returns # boolean Inherited from # React.PureComponent.shouldComponentUpdate","title":"Class: Checkbox"},{"location":"extensions/api/classes/renderer.component.checkbox/#class-checkbox","text":"Renderer . Component .Checkbox","title":"Class: Checkbox"},{"location":"extensions/api/classes/renderer.component.checkbox/#hierarchy","text":"PureComponent < CheckboxProps > \u21b3 Checkbox","title":"Hierarchy"},{"location":"extensions/api/classes/renderer.component.checkbox/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/renderer.component.checkbox/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.checkbox/#properties","text":"context props refs state contextType","title":"Properties"},{"location":"extensions/api/classes/renderer.component.checkbox/#methods","text":"UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate getValue onChange render setState shouldComponentUpdate","title":"Methods"},{"location":"extensions/api/classes/renderer.component.checkbox/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.checkbox/#constructor","text":"\u2022 new Checkbox ( props )","title":"constructor"},{"location":"extensions/api/classes/renderer.component.checkbox/#properties_1","text":"","title":"Properties"},{"location":"extensions/api/classes/renderer.component.checkbox/#context","text":"\u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html","title":"context"},{"location":"extensions/api/classes/renderer.component.checkbox/#props","text":"\u2022 Readonly props : Readonly < CheckboxProps > & Readonly < Object >","title":"props"},{"location":"extensions/api/classes/renderer.component.checkbox/#refs","text":"\u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs","title":"refs"},{"location":"extensions/api/classes/renderer.component.checkbox/#state","text":"\u2022 state : Readonly < Object >","title":"state"},{"location":"extensions/api/classes/renderer.component.checkbox/#contexttype","text":"\u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype","title":"contextType"},{"location":"extensions/api/classes/renderer.component.checkbox/#methods_1","text":"","title":"Methods"},{"location":"extensions/api/classes/renderer.component.checkbox/#unsafe_componentwillmount","text":"\u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillMount"},{"location":"extensions/api/classes/renderer.component.checkbox/#unsafe_componentwillreceiveprops","text":"\u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.checkbox/#unsafe_componentwillupdate","text":"\u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.checkbox/#componentdidcatch","text":"\u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.","title":"componentDidCatch"},{"location":"extensions/api/classes/renderer.component.checkbox/#componentdidmount","text":"\u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering.","title":"componentDidMount"},{"location":"extensions/api/classes/renderer.component.checkbox/#componentdidupdate","text":"\u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.","title":"componentDidUpdate"},{"location":"extensions/api/classes/renderer.component.checkbox/#componentwillmount","text":"\u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillMount"},{"location":"extensions/api/classes/renderer.component.checkbox/#componentwillreceiveprops","text":"\u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.checkbox/#componentwillunmount","text":"\u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount .","title":"componentWillUnmount"},{"location":"extensions/api/classes/renderer.component.checkbox/#componentwillupdate","text":"\u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.checkbox/#forceupdate","text":"\u25b8 forceUpdate ( callback? ): void","title":"forceUpdate"},{"location":"extensions/api/classes/renderer.component.checkbox/#getsnapshotbeforeupdate","text":"\u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.","title":"getSnapshotBeforeUpdate"},{"location":"extensions/api/classes/renderer.component.checkbox/#getvalue","text":"\u25b8 getValue (): boolean","title":"getValue"},{"location":"extensions/api/classes/renderer.component.checkbox/#onchange","text":"\u25b8 onChange ( evt ): void","title":"onChange"},{"location":"extensions/api/classes/renderer.component.checkbox/#render","text":"\u25b8 render (): Element","title":"render"},{"location":"extensions/api/classes/renderer.component.checkbox/#setstate","text":"\u25b8 setState ( state , callback? ): void","title":"setState"},{"location":"extensions/api/classes/renderer.component.checkbox/#shouldcomponentupdate","text":"\u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called.","title":"shouldComponentUpdate"},{"location":"extensions/api/classes/renderer.component.commandoverlay/","text":"Class: CommandOverlay # Renderer . Component .CommandOverlay Table of contents # Constructors # constructor Methods # close open Constructors # constructor # \u2022 new CommandOverlay () Methods # close # \u25b8 Static close (): void Returns # void open # \u25b8 Static open ( component ): void Parameters # Name Type component ReactElement > Returns # void","title":"Class: CommandOverlay"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#class-commandoverlay","text":"Renderer . Component .CommandOverlay","title":"Class: CommandOverlay"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#methods","text":"close open","title":"Methods"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#constructor","text":"\u2022 new CommandOverlay ()","title":"constructor"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#methods_1","text":"","title":"Methods"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#close","text":"\u25b8 Static close (): void","title":"close"},{"location":"extensions/api/classes/renderer.component.commandoverlay/#open","text":"\u25b8 Static open ( component ): void","title":"open"},{"location":"extensions/api/classes/renderer.component.confirmdialog/","text":"Class: ConfirmDialog # Renderer . Component .ConfirmDialog Hierarchy # Component < ConfirmDialogProps > \u21b3 ConfirmDialog Table of contents # Constructors # constructor Properties # context isSaving props refs state contextType defaultParams Accessors # params Methods # UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate close componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate ok onClose render setState shouldComponentUpdate confirm open Constructors # constructor # \u2022 new ConfirmDialog ( props ) Parameters # Name Type props ConfirmDialogProps Overrides # React.Component.constructor Properties # context # \u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html Inherited from # React.Component.context isSaving # \u2022 isSaving : boolean = false props # \u2022 Readonly props : Readonly < ConfirmDialogProps > & Readonly < Object > Inherited from # React.Component.props refs # \u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs Index signature # \u25aa [key: string ]: ReactInstance Inherited from # React.Component.refs state # \u2022 state : Readonly < Object > Inherited from # React.Component.state contextType # \u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype Inherited from # React.Component.contextType defaultParams # \u25aa Static defaultParams : Partial < ConfirmDialogParams > Accessors # params # \u2022 get params (): ConfirmDialogParams Returns # ConfirmDialogParams Methods # UNSAFE_componentWillMount # \u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.Component.UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps # \u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < ConfirmDialogProps > nextContext any Returns # void Inherited from # React.Component.UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate # \u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < ConfirmDialogProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.Component.UNSAFE_componentWillUpdate close # \u25b8 close (): Promise Returns # Promise componentDidCatch # \u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount. Parameters # Name Type error Error errorInfo ErrorInfo Returns # void Inherited from # React.Component.componentDidCatch componentDidMount # \u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering. Returns # void Inherited from # React.Component.componentDidMount componentDidUpdate # \u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null. Parameters # Name Type prevProps Readonly < ConfirmDialogProps > prevState Readonly < Object > snapshot? any Returns # void Inherited from # React.Component.componentDidUpdate componentWillMount # \u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.Component.componentWillMount componentWillReceiveProps # \u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < ConfirmDialogProps > nextContext any Returns # void Inherited from # React.Component.componentWillReceiveProps componentWillUnmount # \u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount . Returns # void Inherited from # React.Component.componentWillUnmount componentWillUpdate # \u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < ConfirmDialogProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.Component.componentWillUpdate forceUpdate # \u25b8 forceUpdate ( callback? ): void Parameters # Name Type callback? () => void Returns # void Inherited from # React.Component.forceUpdate getSnapshotBeforeUpdate # \u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running. Parameters # Name Type prevProps Readonly < ConfirmDialogProps > prevState Readonly < Object > Returns # any Inherited from # React.Component.getSnapshotBeforeUpdate ok # \u25b8 ok (): Promise Returns # Promise onClose # \u25b8 onClose (): void Returns # void render # \u25b8 render (): Element Returns # Element Overrides # React.Component.render setState # \u25b8 setState ( state , callback? ): void Type parameters # Name Type K K : never Parameters # Name Type state {} | ( prevState : Readonly < Object >, props : Readonly < ConfirmDialogProps >) => {} | Pick < Object , K> | Pick < Object , K> callback? () => void Returns # void Inherited from # React.Component.setState shouldComponentUpdate # \u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called. Parameters # Name Type nextProps Readonly < ConfirmDialogProps > nextState Readonly < Object > nextContext any Returns # boolean Inherited from # React.Component.shouldComponentUpdate confirm # \u25b8 Static confirm ( params ): Promise Parameters # Name Type params ConfirmDialogBooleanParams Returns # Promise open # \u25b8 Static open ( params ): void Parameters # Name Type params ConfirmDialogParams Returns # void","title":"Class: ConfirmDialog"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#class-confirmdialog","text":"Renderer . Component .ConfirmDialog","title":"Class: ConfirmDialog"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#hierarchy","text":"Component < ConfirmDialogProps > \u21b3 ConfirmDialog","title":"Hierarchy"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#properties","text":"context isSaving props refs state contextType defaultParams","title":"Properties"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#accessors","text":"params","title":"Accessors"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#methods","text":"UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate close componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate ok onClose render setState shouldComponentUpdate confirm open","title":"Methods"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#constructor","text":"\u2022 new ConfirmDialog ( props )","title":"constructor"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#properties_1","text":"","title":"Properties"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#context","text":"\u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html","title":"context"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#issaving","text":"\u2022 isSaving : boolean = false","title":"isSaving"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#props","text":"\u2022 Readonly props : Readonly < ConfirmDialogProps > & Readonly < Object >","title":"props"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#refs","text":"\u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs","title":"refs"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#state","text":"\u2022 state : Readonly < Object >","title":"state"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#contexttype","text":"\u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype","title":"contextType"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#defaultparams","text":"\u25aa Static defaultParams : Partial < ConfirmDialogParams >","title":"defaultParams"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#accessors_1","text":"","title":"Accessors"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#params","text":"\u2022 get params (): ConfirmDialogParams","title":"params"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#methods_1","text":"","title":"Methods"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#unsafe_componentwillmount","text":"\u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillMount"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#unsafe_componentwillreceiveprops","text":"\u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#unsafe_componentwillupdate","text":"\u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"UNSAFE_componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#close","text":"\u25b8 close (): Promise ","title":"close"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#componentdidcatch","text":"\u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.","title":"componentDidCatch"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#componentdidmount","text":"\u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering.","title":"componentDidMount"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#componentdidupdate","text":"\u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.","title":"componentDidUpdate"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#componentwillmount","text":"\u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillMount"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#componentwillreceiveprops","text":"\u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillReceiveProps"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#componentwillunmount","text":"\u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount .","title":"componentWillUnmount"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#componentwillupdate","text":"\u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path","title":"componentWillUpdate"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#forceupdate","text":"\u25b8 forceUpdate ( callback? ): void","title":"forceUpdate"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#getsnapshotbeforeupdate","text":"\u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.","title":"getSnapshotBeforeUpdate"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#ok","text":"\u25b8 ok (): Promise ","title":"ok"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#onclose","text":"\u25b8 onClose (): void","title":"onClose"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#render","text":"\u25b8 render (): Element","title":"render"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#setstate","text":"\u25b8 setState ( state , callback? ): void","title":"setState"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#shouldcomponentupdate","text":"\u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called.","title":"shouldComponentUpdate"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#confirm","text":"\u25b8 Static confirm ( params ): Promise ","title":"confirm"},{"location":"extensions/api/classes/renderer.component.confirmdialog/#open","text":"\u25b8 Static open ( params ): void","title":"open"},{"location":"extensions/api/classes/renderer.component.cubespinner/","text":"Class: CubeSpinner # Renderer . Component .CubeSpinner Hierarchy # Component < CubeSpinnerProps > \u21b3 CubeSpinner Table of contents # Constructors # constructor Properties # context props refs state contextType Methods # UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate render setState shouldComponentUpdate Constructors # constructor # \u2022 new CubeSpinner ( props ) Parameters # Name Type props CubeSpinnerProps | Readonly < CubeSpinnerProps > Inherited from # React.Component.constructor \u2022 new CubeSpinner ( props , context ) deprecated see https://reactjs.org/docs/legacy-context.html Parameters # Name Type props CubeSpinnerProps context any Inherited from # React.Component.constructor Properties # context # \u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html Inherited from # React.Component.context props # \u2022 Readonly props : Readonly < CubeSpinnerProps > & Readonly < Object > Inherited from # React.Component.props refs # \u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs Index signature # \u25aa [key: string ]: ReactInstance Inherited from # React.Component.refs state # \u2022 state : Readonly < Object > Inherited from # React.Component.state contextType # \u25aa Static Optional contextType : Context If set, this.context will be set at runtime to the current value of the given Context. Usage: type MyContext = number const Ctx = React . createContext < MyContext > ( 0 ) class Foo extends React . Component { static contextType = Ctx context !: React . ContextType < typeof Ctx > render () { return <> My context ' s value : { this . context } < />; } } see https://reactjs.org/docs/context.html#classcontexttype Inherited from # React.Component.contextType Methods # UNSAFE_componentWillMount # \u25b8 Optional UNSAFE_componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.Component.UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps # \u25b8 Optional UNSAFE_componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < CubeSpinnerProps > nextContext any Returns # void Inherited from # React.Component.UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate # \u25b8 Optional UNSAFE_componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. This method will not stop working in React 17. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < CubeSpinnerProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.Component.UNSAFE_componentWillUpdate componentDidCatch # \u25b8 Optional componentDidCatch ( error , errorInfo ): void Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount. Parameters # Name Type error Error errorInfo ErrorInfo Returns # void Inherited from # React.Component.componentDidCatch componentDidMount # \u25b8 Optional componentDidMount (): void Called immediately after a component is mounted. Setting state here will trigger re-rendering. Returns # void Inherited from # React.Component.componentDidMount componentDidUpdate # \u25b8 Optional componentDidUpdate ( prevProps , prevState , snapshot? ): void Called immediately after updating occurs. Not called for the initial render. The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null. Parameters # Name Type prevProps Readonly < CubeSpinnerProps > prevState Readonly < Object > snapshot? any Returns # void Inherited from # React.Component.componentDidUpdate componentWillMount # \u25b8 Optional componentWillMount (): void Called immediately before mounting occurs, and before Component#render . Avoid introducing any side-effects or subscriptions in this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use componentDidMount or the constructor instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Returns # void Inherited from # React.Component.componentWillMount componentWillReceiveProps # \u25b8 Optional componentWillReceiveProps ( nextProps , nextContext ): void Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes. Calling Component#setState generally does not trigger this method. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use static getDerivedStateFromProps instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < CubeSpinnerProps > nextContext any Returns # void Inherited from # React.Component.componentWillReceiveProps componentWillUnmount # \u25b8 Optional componentWillUnmount (): void Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as cancelled network requests, or cleaning up any DOM elements created in componentDidMount . Returns # void Inherited from # React.Component.componentWillUnmount componentWillUpdate # \u25b8 Optional componentWillUpdate ( nextProps , nextState , nextContext ): void Called immediately before rendering when new props or state is received. Not called for the initial render. Note: You cannot call Component#setState here. Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked. deprecated 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17 see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path Parameters # Name Type nextProps Readonly < CubeSpinnerProps > nextState Readonly < Object > nextContext any Returns # void Inherited from # React.Component.componentWillUpdate forceUpdate # \u25b8 forceUpdate ( callback? ): void Parameters # Name Type callback? () => void Returns # void Inherited from # React.Component.forceUpdate getSnapshotBeforeUpdate # \u25b8 Optional getSnapshotBeforeUpdate ( prevProps , prevState ): any Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it. Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running. Parameters # Name Type prevProps Readonly < CubeSpinnerProps > prevState Readonly < Object > Returns # any Inherited from # React.Component.getSnapshotBeforeUpdate render # \u25b8 render (): Element Returns # Element Overrides # React.Component.render setState # \u25b8 setState ( state , callback? ): void Type parameters # Name Type K K : never Parameters # Name Type state {} | ( prevState : Readonly < Object >, props : Readonly < CubeSpinnerProps >) => {} | Pick < Object , K> | Pick < Object , K> callback? () => void Returns # void Inherited from # React.Component.setState shouldComponentUpdate # \u25b8 Optional shouldComponentUpdate ( nextProps , nextState , nextContext ): boolean Called to determine whether the change in props and state should trigger a re-render. Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed. If false is returned, Component#render , componentWillUpdate and componentDidUpdate will not be called. Parameters # Name Type nextProps Readonly < CubeSpinnerProps > nextState Readonly < Object > nextContext any Returns # boolean Inherited from # React.Component.shouldComponentUpdate","title":"Class: CubeSpinner"},{"location":"extensions/api/classes/renderer.component.cubespinner/#class-cubespinner","text":"Renderer . Component .CubeSpinner","title":"Class: CubeSpinner"},{"location":"extensions/api/classes/renderer.component.cubespinner/#hierarchy","text":"Component < CubeSpinnerProps > \u21b3 CubeSpinner","title":"Hierarchy"},{"location":"extensions/api/classes/renderer.component.cubespinner/#table-of-contents","text":"","title":"Table of contents"},{"location":"extensions/api/classes/renderer.component.cubespinner/#constructors","text":"constructor","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.cubespinner/#properties","text":"context props refs state contextType","title":"Properties"},{"location":"extensions/api/classes/renderer.component.cubespinner/#methods","text":"UNSAFE_componentWillMount UNSAFE_componentWillReceiveProps UNSAFE_componentWillUpdate componentDidCatch componentDidMount componentDidUpdate componentWillMount componentWillReceiveProps componentWillUnmount componentWillUpdate forceUpdate getSnapshotBeforeUpdate render setState shouldComponentUpdate","title":"Methods"},{"location":"extensions/api/classes/renderer.component.cubespinner/#constructors_1","text":"","title":"Constructors"},{"location":"extensions/api/classes/renderer.component.cubespinner/#constructor","text":"\u2022 new CubeSpinner ( props )","title":"constructor"},{"location":"extensions/api/classes/renderer.component.cubespinner/#properties_1","text":"","title":"Properties"},{"location":"extensions/api/classes/renderer.component.cubespinner/#context","text":"\u2022 context : any If using the new style context, re-declare this in your class to be the React.ContextType of your static contextType . Should be used with type annotation or static contextType. static contextType = MyContext // For TS pre-3.7: context !: React . ContextType < typeof MyContext > // For TS 3.7 and above: declare context : React.ContextType < typeof MyContext > see https://reactjs.org/docs/context.html","title":"context"},{"location":"extensions/api/classes/renderer.component.cubespinner/#props","text":"\u2022 Readonly props : Readonly < CubeSpinnerProps > & Readonly < Object >","title":"props"},{"location":"extensions/api/classes/renderer.component.cubespinner/#refs","text":"\u2022 refs : Object deprecated https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs","title":"refs"},{"location":"extensions/api/classes/renderer.component.cubespinner/#state","text":"\u2022 state : Readonly < Object >","title":"state"},{"location":"extensions/api/classes/renderer.component.cubespinner/#contexttype","text":"\u25aa Static Optional contextType : Context