Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Interface. Sbutton

sprotty-protocol / SButton

Interface: SButton

Defined in: model.ts:284

Buttons are elements that can react to clicks. A button handler can be registered in the frontend.

Extends

Properties

children?

optional children: SModelElement[]

Defined in: model.ts:27

Inherited from

SShapeElement.children


cssClasses?

optional cssClasses: string[]

Defined in: model.ts:28

Inherited from

SShapeElement.cssClasses


enabled

enabled: boolean

Defined in: model.ts:286


id

id: string

Defined in: model.ts:26

Inherited from

SShapeElement.id


layoutOptions?

optional layoutOptions: ModelLayoutOptions

Defined in: model.ts:150

Inherited from

LayoutableChild.layoutOptions


position?

optional position: Point

Defined in: model.ts:135

Inherited from

Locateable.position


pressed

pressed: boolean

Defined in: model.ts:285


size?

optional size: Dimension

Defined in: model.ts:142

Inherited from

BoundsAware.size


type

type: string

Defined in: model.ts:25

Inherited from

SShapeElement.type