This page is available as Markdown at /api/toolbar/type-aliases/styleselector.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.
StyleSelector
StyleSelector =
object
Defined in: toolbar/src/use-style-selector.ts:123
Properties
Section titled “Properties”send()
Section titled “send()”send: (
event) =>void
Defined in: toolbar/src/use-style-selector.ts:130
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
snapshot
Section titled “snapshot”snapshot:
object
Defined in: toolbar/src/use-style-selector.ts:124
context
Section titled “context”context:
object
context.activeStyle
Section titled “context.activeStyle”activeStyle:
StyleSchemaType["name"] |undefined
matches()
Section titled “matches()”matches: (
state) =>boolean
Parameters
Section titled “Parameters”"disabled" | "enabled"
Returns
Section titled “Returns”boolean