Initializer
BaseElement(String? id = null, CssClass classNames = [], String? style = null, String? accessKey = null, String? contextMenu = null, TextDirection? dir = null, Boolean? draggable = null, DropZone? dropZone = null, Boolean? inert = null, Boolean? hidden = null, String? lang = null, Boolean? spellcheck = null, Integer? tabIndex = null, String? title = null, Boolean? translate = null, Aria? aria = null, NonstandardAttributes nonstandardAttributes = ..., DataContainer data = ...)
Parameters:
  • id = null
  • classNames = []
  • style = null
  • accessKey = null

    Specifies a shortcut key that can be used to access the element.

  • contextMenu = null

    A reference to a menu element id with the contents of this element context menu. Note that this property is poorly supported by browsers.

  • dir = null

    Specifies the element's text directionality.

  • draggable = null

    Controls whether or not the element is draggable.

  • dropZone = null

    Defines the behavior when other element is dropped on this element. Note: everytime you define a element as a drop zone, you should also define it's title attribute for the purpose of non-visual interactions

  • inert = null

    Indicates, when true, that the element is to be made inert.

  • hidden = null

    Indicates that the element is not yet, or is no longer, relevant. The browser/user agent does not display elements that have the hidden attribute present.

  • lang = null

    Specifies the primary language for the element's contents and for any of the element's attributes that contain text.

  • spellcheck = null

    User agents can support the checking of spelling and grammar of editable text.

  • tabIndex = null

    Controls whether an element is supposed to be focusable, whether it is supposed to be reachable using sequential focus navigation, and what is to be the relative order of the element for the purposes of sequential focus navigation.

  • title = null

    Specifies a title. Most browsers will display a tooltip when the cursor hovers over the element.

  • translate = null

    Used to specify whether this element's attribute values its text content are to be translated when the page is localized, or whether to leave them unchanged.

  • aria = null
  • nonstandardAttributes = empty

    Defines any other nonstandard (defined by W3C) attributes.

  • data = empty

    Can be used to hold data-* attributes.

Attributes
accessKeySource Codeshared String? accessKey

Specifies a shortcut key that can be used to access the element.

ariaSource Codeshared Aria? aria
attributesSource Codeshared actual default <String->Object>[] attributes
Refines StyledElement.attributes ultimately refines Node.attributes
contextMenuSource Codeshared String? contextMenu

A reference to a menu element id with the contents of this element context menu. Note that this property is poorly supported by browsers.

dataSource Codeshared DataContainer data

Can be used to hold data-* attributes.

dirSource Codeshared TextDirection? dir

Specifies the element's text directionality.

draggableSource Codeshared Boolean? draggable

Controls whether or not the element is draggable.

dropZoneSource Codeshared DropZone? dropZone

Defines the behavior when other element is dropped on this element. Note: everytime you define a element as a drop zone, you should also define it's title attribute for the purpose of non-visual interactions

hiddenSource Codeshared Boolean? hidden

Indicates that the element is not yet, or is no longer, relevant. The browser/user agent does not display elements that have the hidden attribute present.

inertSource Codeshared Boolean? inert

Indicates, when true, that the element is to be made inert.

langSource Codeshared String? lang

Specifies the primary language for the element's contents and for any of the element's attributes that contain text.

nonstandardAttributesSource Codeshared NonstandardAttributes nonstandardAttributes

Defines any other nonstandard (defined by W3C) attributes.

spellcheckSource Codeshared Boolean? spellcheck

User agents can support the checking of spelling and grammar of editable text.

tabIndexSource Codeshared Integer? tabIndex

Controls whether an element is supposed to be focusable, whether it is supposed to be reachable using sequential focus navigation, and what is to be the relative order of the element for the purposes of sequential focus navigation.

titleSource Codeshared String? title

Specifies a title. Most browsers will display a tooltip when the cursor hovers over the element.

translateSource Codeshared Boolean? translate

Used to specify whether this element's attribute values its text content are to be translated when the page is localized, or whether to leave them unchanged.

Inherited Attributes
Attributes inherited from: Object
Inherited Methods
Methods inherited from: Object