am-editor-002/docs/api/constants.md

1.4 KiB

Constant

Node

DATA-ID

data-id

DATA_ELEMENT

Mark node type

ROOT

Mark as root node

ROOT_SELECTOR

Root node selector

UI

Mark as UI node

UI_SELECTOR

UI node CSS selector

EDITABLE

Mark as editable node

EDITABLE_SELECTOR

Editable node CSS selector

DATA_TRANSIENT_ATTRIBUTES

Mark node attributes that do not participate in collaboration

DATA_TRANSIENT_ELEMENT

Mark nodes that do not participate in collaboration

Selection area

ANCHOR

Start node marker

FOCUS

End node marker

CURSOR

Mark where the start position and end position coincide

ANCHOR_SELECTOR

Start Node Marker CSS Queryer

FOCUS_SELECTOR

End node marker CSS finder

CURSOR_SELECTOR

Mark the CSS finder where the start position and end position coincide

Card

CARD_TAG

Card node label name

CARD_KEY

Card name

READY_CARD_KEY

Name of the card to be rendered

CARD_TYPE_KEY

Card type

CARD_VALUE_KEY

Card value

CARD_ELEMENT_KEY

Card node

CARD_SELECTOR

Card CSS selector

READY_CARD_SELECTOR

CSS selector for the card to be rendered

CARD_LEFT_SELECTOR

CSS selector on the left side of the card

CARD_CENTER_SELECTOR

CSS selector for card center node

CARD_RIGHT_SELECTOR

CSS selector on the right side of the card