@hydroperx/tiles
Version:
Metro tile layout
22 lines (21 loc) • 605 B
JavaScript
/**
* Attribute name used for identifying a group or tile's ID.
*/
export const ATTR_ID = "data-id";
/**
* Attribute name used for indicating a tile's size.
*/
export const ATTR_SIZE = "data-size";
/**
* Attribute name used for indicating that a pointer is actively dragging a group or tile.
*/
export const ATTR_DRAGGING = "data-dragging";
/**
* Attribute name used for indicating that a tile is checked.
*/
export const ATTR_CHECKED = "data-checked";
/**
* Attribute name used for indicating that a tile
* is about to be removed from the DOM.
*/
export const ATTR_REMOVING = "data-removing";