You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.9 KiB
JavaScript
66 lines
1.9 KiB
JavaScript
// used in Attr to signal changes
|
|
export const CHANGED = Symbol('changed');
|
|
|
|
// used in Element to setup once classList
|
|
export const CLASS_LIST = Symbol('classList');
|
|
|
|
// used in Document to attach once customElements
|
|
export const CUSTOM_ELEMENTS = Symbol('CustomElements');
|
|
|
|
// used in HTMLTemplateElement
|
|
export const CONTENT = Symbol('content');
|
|
|
|
// used in Element for data attributes
|
|
export const DATASET = Symbol('dataset');
|
|
|
|
// used in Document to attach the DocType
|
|
export const DOCTYPE = Symbol('doctype');
|
|
|
|
// used in parser and Document to attach once a DOMParser
|
|
export const DOM_PARSER = Symbol('DOMParser');
|
|
|
|
// used to reference an end node
|
|
export const END = Symbol('end');
|
|
|
|
// used in Document to make the globalThis an event target
|
|
export const EVENT_TARGET = Symbol('EventTarget');
|
|
|
|
// used to augment a created document defaultView
|
|
export const GLOBALS = Symbol('globals');
|
|
|
|
// used in both Canvas and Document to provide images
|
|
export const IMAGE = Symbol('image');
|
|
|
|
// used to define Document mime type
|
|
export const MIME = Symbol('mime');
|
|
|
|
// used in Document to attach once MutationObserver
|
|
export const MUTATION_OBSERVER = Symbol('MutationObserver');
|
|
|
|
// used to define next node reference
|
|
export const NEXT = Symbol('next');
|
|
|
|
// used to define Attr owner elements
|
|
export const OWNER_ELEMENT = Symbol('ownerElement');
|
|
|
|
// used to define previous node reference
|
|
export const PREV = Symbol('prev');
|
|
|
|
// used to define various "private" properties
|
|
export const PRIVATE = Symbol('private');
|
|
|
|
// used to define the CSSStyleSheet.sheet
|
|
export const SHEET = Symbol('sheet');
|
|
|
|
// used to define start node reference
|
|
export const START = Symbol('start');
|
|
|
|
// used to define special CSS style attribute
|
|
export const STYLE = Symbol('style');
|
|
|
|
// used to upgrade Custom Elements
|
|
export const UPGRADE = Symbol('upgrade');
|
|
|
|
// used to define generic values
|
|
export const VALUE = Symbol('value');
|