API Reference > ui-components > PropertyEditors > ToggleEditor ToggleEditor Class Beta ToggleEditor React component that is a property editor with checkbox input Extends PureComponent<PropertyEditorProps, ToggleEditorState> Implements TypeEditor Methods Name Description constructor(props: Readonly<PropertyEditorProps>): ToggleEditor constructor(props: PropertyEditorProps, context?: any): ToggleEditor Deprecated getPropertyValue(): Promise<undefined | PropertyValue> Properties Name Type Description hasFocus Accessor ReadOnly boolean htmlElement Accessor ReadOnly | HTMLElement Defined in ui/components/src/ui-components/editors/ToggleEditor.tsx Line 26 Last Updated: 12 June, 2024