dom library
Classes
- AbbreviationElement
- AddressElement
- AnchorElement
- AppearEvent
- ArticleElement
- AsideElement
- BlockQuotationElement
- BodyElement
- BoundingClientRect
- BRElement
- BringElement
- ButtonElement
- CanvasElement
- CanvasRenderingContext2D
- CanvasRenderingContext2DSettings
- CitationElement
- CloseEvent
- reference: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/CloseEvent
- CodeElement
- ColorSchemeChangeEvent
- Comment
- 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.
- CustomEventInit
- DataElement
- DDElement
- DefinitionElement
- DelElement
- DisappearEvent
- DivElement
- DListElement
- Document
- DocumentFragment
- DTElement
- EditableTextDelegate
- Element
- ElementsBindingObserver
-
This class can be extended directly, to get default behaviors for all of the
handlers, or can used with the
implements
keyword, in which case all the handlers must be implemented (and the analyzer will list those that have been omitted). - ElementsFlutterBinding
- A concrete binding for applications based on the elements framework.
- EmphasisElement
- Event
- reference: https://developer.mozilla.org/zh-CN/docs/Web/API/Event
- EventInit
- EventTarget
- FigureCaptionElement
- FigureElement
- GestureEvent
- reference: https://developer.mozilla.org/en-US/docs/Web/API/GestureEvent
- GestureEventInit
- H1Element
- H2Element
- H3Element
- H4Element
- H5Element
- H6Element
- HeadElement
- HeaderElement
- HTMLElement
- IdiomaticElement
- ImageElement
- InputElement
- InputEvent
- InsElement
- IntersectionChangeEvent
- KeyboardElement
- LabelElement
- LIElement
- LifecycleCallbacks
- Lifecycle that triggered when node tree changes. Ref: https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-lifecycle-callbacks
- LinkElement
- MainElement
- MarkElement
- MediaError
- MediaErrorCode
- MessageEvent
- reference: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent
- MetaElement
- MouseEvent
- reference: https://developer.mozilla.org/zh-CN/docs/Web/API/MouseEvent
- MouseEventInit
- Node
- NoScriptElement
- ObjectElement
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
- ObjectElementClient
- ObjectElementHost
- OListElement
- ParagraphElement
- ParamElement
- PopStateEvent
- PopStateEventInit
- PreElement
- QuoteElement
- RenderCanvasPaint
- 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.
- SampleElement
- Screen
- ScriptElement
- SectionElement
- SmallElement
- SpanElement
- StrikethroughElement
- StrongElement
- StyleElement
- TemplateElement
- TextareaElement
- TextFormControlElement
- TextNode
- TimeElement
- TitleElement
- 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
- UListElement
- UnarticulatedElement
- VariableElement
- Window
Mixins
- ElementBase
- ElementEventMixin
- ElementsBinding
- The glue between the elements layer and the Flutter engine.
Constants
- ABBR → const String
- ADDRESS → const String
- ALPHABETIC → const String
- ANCHOR → const String
- ARTICLE → const String
- ASIDE → const String
- B → const String
- BEVEL → const String
- BLOCKQUOTE → const String
- blurSelection → const TextSelection
- BODY → const String
- BR → const String
- BUTT → const String
- BUTTON → const String
- CANVAS → const String
- CENTER → const String
- CITE → const String
- CODE → const String
- COLS → const String
- DATA → const String
- DD → const String
- DEFAULT_VALUE → const String
- DEL → const String
- DFN → const String
- DIV → const String
- DL → const String
- DOCUMENT_FRAGMENT → const String
- DT → 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.
- EM → const String
- END → const String
- EVENODD → 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_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_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
- FIGCAPTION → const String
- FIGURE → const String
- FOOTER → const String
- H1 → const String
- H2 → const String
- H3 → const String
- H4 → const String
- H5 → const String
- H6 → const String
- HANGING → const String
- HEAD → const String
- HEADER → const String
- HTML → const String
- I → const String
- IDEOGRAPHIC → const String
- IMAGE → const String
- INHERIT → const String
- INPUT → const String
- INS → const String
- KBD → const String
- LABEL → const String
- LAZY → const String
- LI → const String
- LINK → const String
- LOADING → const String
- LTR → const String
- MAIN → const String
- MARK → const String
- META → const String
- MIDDLE → const String
- MITER → const String
- NATURAL_HEIGHT → const String
- NATURAL_WIDTH → const String
- NAV → const String
- NEW_LINE_CHAR → const String
- NOSCRIPT → const String
- OBJECT → const String
- OL → const String
- PARAGRAPH → const String
- PARAM → const String
- PRE → const String
- Q → const String
- RETURN_CHAR → const String
- ROUND → const String
- ROWS → const String
- RTL → const String
- S → const String
- SAMP → const String
- SCALE → const String
- SCALING → const String
- SCRIPT → const String
- SECTION → const String
- SIZE → const String
- SMALL → const String
- SPAN → const String
- SQUARE → const String
- START → const String
- STRONG → const String
- STYLE → const String
- TAB_CHAR → const String
- TEMPLATE → const String
- TEXTAREA → const String
- TIME → const String
- TITLE → const String
- U → const String
- UL → const String
- UNKNOWN → const String
- VALUE → const String
- VAR → const String
- WHITE_SPACE_CHAR → const String
- WINDOW → const String
Functions
-
attributeToProperty<
T> (String value) → T -
createElement(
String name, [BindingContext? context]) → Element -
defineBuiltInElements(
) → void -
defineElement(
String name, ElementCreator creator) → void -
getNodeTypeValue(
NodeType nodeType) → int - https://dom.spec.whatwg.org/#dom-node-nodetype
-
getObjectElementClientFactory(
) → ObjectElementClientFactory? -
setObjectElementFactory(
ObjectElementClientFactory factory) → void
Typedefs
- BeforeRendererAttach = RenderObject Function()
- CanvasAction = void Function(Canvas, dynamic)
- ElementCreator = Element Function(BindingContext? context)
- EventHandler = 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.
- ObjectElementClientFactory = ObjectElementClient Function(ObjectElementHost objectElementHost)
- TestElement = bool Function(Element element)
-
ValueChanged<
T> = void Function(T value)