Back to Grapesjs

State

docs/api/state.md

0.22.16523 B
Original Source
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

State

Properties

  • name String State name, eg. hover, nth-of-type(2n)
  • label String State label, eg. Hover, Even/Odd

getName

Get state name

Returns String

getLabel

Get state label. If label was not provided, the name will be returned.

Returns String