dom library
Classes
- AnimationEvent
- AppearEvent
- BindingClientRectData
- BoundingClientRect
- CharacterData
- ChildNodeList
- ChildrenChange
- CloseEvent
- reference: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent
- ColorSchemeChangeEvent
- Comment
- ContainerNode
- CustomEvent
- reference: http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#interface-CustomEvent Attention: Detail now only can be a string.
- DisappearEvent
- Document
- DocumentFragment
- Element
- ElementAttributeProperty
- Event
- reference: https://developer.mozilla.org/zh-CN/docs/Web/API/Event
- EventListenerOptions
- EventTarget
- ExternalWebRenderLayoutWidgetElement
- FocusEvent
- GestureEvent
- reference: https://developer.mozilla.org/en-US/docs/Web/API/GestureEvent
- HashChangeEvent
- HTMLCollection
- HTMLCollectionIterator
- HybridRouterChangeEvent
- InputEvent
- IntersectionChangeEvent
- KeyboardEvent
- reference: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent
- LifecycleCallbacks
- Lifecycle that triggered when node tree changes. Ref: https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-lifecycle-callbacks
- MediaError
- MediaErrorCode
- MessageEvent
- reference: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent
- MouseEvent
- reference: https://developer.mozilla.org/zh-CN/docs/Web/API/MouseEvent
- Node
-
NodeList<
T extends Node> - OffScreenEvent
- OnScreenEvent
- PopStateEvent
- PositionPlaceHolder
- RenderObjectNode
- RenderObjectNode provide the renderObject related abstract life cycle for Node or Elements, which wrap RenderObjects, which provide the actual rendering of the application.
- ResizeEvent
- Screen
- ScreenData
- ScreenEvent
- StyleNodeManager
- TextNode
- TextNodeAdapter
- TextNodeAdapterElement
- Touch
- reference: https://w3c.github.io/touch-events/#dom-touch
- TouchEvent
- reference: https://w3c.github.io/touch-events/#touchevent-interface
- TouchList
- reference: https://w3c.github.io/touch-events/#touchlist-interface
- TransitionEvent
- https://drafts.csswg.org/css-transitions/#transitionevent
- UIEvent
- WebFElementWidget
- WebFElementWidgetState
- WebFRenderLayoutWidgetAdaptor
- WebFRenderReplacedRenderObjectElement
- WebFRenderReplacedRenderObjectWidget
- WebFReplacedElementWidget
- WebFReplacedElementWidgetState
- WebRenderLayoutRenderObjectElement
- Window
Enums
Constants
- elementDefaultHeight → const String
- elementDefaultWidth → const String
- Defined by W3C Standard, Most element's default width is 300 in pixel, height is 150 in pixel.
- EVENT_ANIMATION_CANCEL → const String
- EVENT_ANIMATION_END → const String
- EVENT_ANIMATION_ITERATION → const String
- EVENT_ANIMATION_START → const String
- EVENT_APPEAR → const String
- EVENT_BLUR → const String
- EVENT_CAN_PLAY → const String
- EVENT_CAN_PLAY_THROUGH → const String
- EVENT_CANCEL → const String
- EVENT_CHANGE → const String
- EVENT_CLICK → const String
- EVENT_CLOSE → const String
- EVENT_COLOR_SCHEME_CHANGE → const String
- EVENT_DISAPPEAR → const String
- EVENT_DOM_CONTENT_LOADED → const String
- EVENT_DOUBLE_CLICK → const String
- EVENT_DRAG → const String
- EVENT_ENDED → const String
- EVENT_ERROR → const String
- EVENT_FINISH → const String
- EVENT_FOCUS → const String
- EVENT_HASH_CHANGE → const String
- EVENT_HYBRID_ROUTER_CHANGE → const String
- EVENT_INPUT → const String
- EVENT_INTERSECTION_CHANGE → const String
- EVENT_KEY_DOWN → const String
- EVENT_KEY_PRESS → const String
- EVENT_KEY_UP → const String
- EVENT_LOAD → const String
- EVENT_LONG_PRESS → const String
- EVENT_MEDIA_ERROR → const String
- EVENT_MESSAGE → const String
- EVENT_OFF_SCREEN → const String
- EVENT_ON_SCREEN → const String
- EVENT_OPEN → const String
- EVENT_PAN → const String
- EVENT_PAUSE → const String
- EVENT_PLAY → const String
- EVENT_POP_STATE → const String
- EVENT_PRELOADED → const String
- EVENT_PRERENDERED → const String
- EVENT_READY_STATE_CHANGE → const String
- EVENT_RESIZE → const String
- EVENT_SCALE → const String
- EVENT_SCROLL → const String
- EVENT_SEEKED → const String
- EVENT_SEEKING → const String
- EVENT_STATE_CANCEL → const String
- EVENT_STATE_END → const String
- EVENT_STATE_START → const String
- EVENT_STATE_UPDATE → const String
- EVENT_SWIPE → const String
- EVENT_TOUCH_CANCEL → const String
- EVENT_TOUCH_END → const String
- EVENT_TOUCH_MOVE → const String
- EVENT_TOUCH_START → const String
- EVENT_TRANSITION_CANCEL → const String
- EVENT_TRANSITION_END → const String
- EVENT_TRANSITION_RUN → const String
- EVENT_TRANSITION_START → const String
- EVENT_UNLOAD → const String
- EVENT_VOLUME_CHANGE → const String
- unknown → const String
Properties
- classNameSplitRegExp → RegExp
-
final
- debugLogDomAdapterEnabled ↔ bool
-
getter/setter pair
- htmlElementUri → String
-
final
- mathmlElementUri → String
-
final
- svgElementUri → String
-
final
Functions
-
attributeToProperty<
T> (String value) → T -
collectChildrenAndRemoveFromOldParent(
Node node, List< Node> nodes) → bool -
createElement(
String name, [BindingContext? context]) → Element -
createElementNS(
String uri, String name, [BindingContext? context]) → Element -
createSvgElement(
String name, [BindingContext? context]) → Element -
defineBuiltInElements(
) → void -
defineElement(
String name, ElementCreator creator) → void -
defineElementNS(
String uri, String name, ElementCreator creator) → dynamic -
defineOverrideWidgetElement(
String name, ElementCreator creator) → void -
defineWidgetElement(
String name, ElementCreator creator) → void -
getAllWidgetElements(
) → Map< String, ElementCreator> -
getChildNodes(
ContainerNode node, List< Node> nodes) → void -
getNodeTypeValue(
NodeType nodeType) → int - https://dom.spec.whatwg.org/#dom-node-nodetype
Typedefs
- BeforeRendererAttach = RenderObject Function()
- ElementAttributeDeleter = void Function()
- ElementAttributeGetter = String? Function()
- ElementAttributeSetter = void Function(String value)
- ElementCreator = Element Function(BindingContext? context)
- ElementVisitor = void Function(Node child)
-
EventHandler
= Future<
void> Function(Event event) - EveryRenderTextBoxHandler = void Function(RenderTextBox? textBox)
-
ForeachStateFunction
= void Function(State<
StatefulWidget> state) -
GetChildNodes
= List<
Node> Function() - GetRenderBoxModel = RenderBoxModel? Function()
- Get the render box model of current element.
- GetRootElementFontSize = double Function()
- GetTargetId = int Function()
- GetViewportSize = Size Function()
- Get the viewport size of current element.
- InsertNodeHandler = void Function(ContainerNode container, Node child, Node? next)
- NodeVisitor = void Function(Node node)
- TestElement = bool Function(Element element)