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
- FocusEvent
- GestureEvent
- reference: https://developer.mozilla.org/en-US/docs/Web/API/GestureEvent
- HashChangeEvent
- HTMLCollection
- HTMLCollectionIterator
- HybridRouterChangeEvent
- InputEvent
- IntersectionChangeEvent
- 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> - ObjectElementClient
- ObjectElementHost
- PopStateEvent
- RenderObjectNode
- RenderObjectNode provide the renderObject related abstract life cycle for Node or Elements, which wrap RenderObjects, which provide the actual rendering of the application.
- RenderSliverElementChildManager
- An implementation of RenderSliverBoxChildManager for sliver, manage element to implement lifecycles for sliver list, generate renderer from existing element tree.
- RenderSliverRepaintProxy
- Used for the sliver item which is not RepaintBoundary
- ResizeEvent
- Screen
- ScreenData
- StyleNodeManager
- TextNode
- 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
- UIEvent
- Window
Enums
Mixins
Constants
- DOCUMENT_FRAGMENT → const String
- ELEMENT_DEFAULT_HEIGHT → const String
- ELEMENT_DEFAULT_WIDTH → 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_LOAD → const String
- EVENT_LONG_PRESS → const String
- EVENT_MEDIA_ERROR → const String
- EVENT_MESSAGE → 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
- NEW_LINE_CHAR → const String
- RETURN_CHAR → const String
- TAB_CHAR → const String
- UNKNOWN → const String
- WHITE_SPACE_CHAR → const String
- WINDOW → const String
Properties
- classNameSplitRegExp → RegExp
-
final
- HTML_ELEMENT_URI → String
-
final
- MATHML_ELEMENT_URI → String
-
final
- SVG_ELEMENT_URI → 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 -
getChildNodes(
ContainerNode node, List< Node> nodes) → void -
getNodeTypeValue(
NodeType nodeType) → int - https://dom.spec.whatwg.org/#dom-node-nodetype
-
getObjectElementClientFactory(
) → ObjectElementClientFactory? -
setObjectElementFactory(
ObjectElementClientFactory factory) → void
Typedefs
- BeforeRendererAttach = RenderObject Function()
- ElementAttributeDeleter = void Function()
- ElementAttributeGetter = String? Function()
- ElementAttributeSetter = void Function(String value)
- ElementCreator = Element Function(BindingContext? context)
-
EventHandler
= Future<
void> Function(Event event) -
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)
- ObjectElementClientFactory = ObjectElementClient Function(ObjectElementHost objectElementHost)
- TestElement = bool Function(Element element)