package
0.2.0-alpha
Repository: https://github.com/icecake-framework/icecake.git
Documentation: pkg.go.dev
# Functions
CastDocument is casting a js.Value into Document.
CastElement is casting a js.Value into Element.
No description provided by the author
CastNode is casting a js.Value into Node.
No description provided by the author
CreateElement creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn't recognized.
CreateTextNode creates a text node.
GetDocument returns the current document within the current window.
Id returns the Element found in the doc with the _elementId attribute.
MountId wraps the id to the uicomposer and add its listeners and to it and to all its childs.
No description provided by the author
TryMountId wraps the elemid to the uicomposer and add its listeners and to it and to all its childs.
TryWrapId looks for elemid into the DOM and wrap it to ui if its type corresponds to the attribute name of the element.
WrapId looks for elemid into the DOM and wrap it to ui if its type corresponds to the attribute name of the element.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
After the element itself.
Before the Element itself.
like inner html.
Just inside the element, before its first child.
Just inside the element, after its last child.
like outerhtml.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
An Attribute of an Element.
A CDATASection, such as <!CDATA[[ … ]]>.
A Comment node, such as <!-- … -->.
A Document node.
A DocumentFragment node.
A DocumentType node, such as <!DOCTYPE html>.
An Element node like <p> or <div>.
Deprecated.
Deprecated.
Deprecated.
A ProcessingInstruction of an XML document, such as <?xml-stylesheet … ?>.
The actual Text inside an Element or Attr.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Document represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
Element is the most general base class from which all element objects (i.e.
https://developer.mozilla.org/en-US/docs/Web/API/Node.
No description provided by the author
UISnippet combines an htmlSnippet allowing html rendering of ick-name tags in different ways, and a wrapped dom.Element allowing event listening and other direct DOM interactions.
# Interfaces
No description provided by the author
# Type aliases
https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState.
The Document.visibilityState returns the visibility of the document, that is in which context this element is now visible.
No description provided by the author
An integer value representing otherNode's position relative to node as a bitmask.
No description provided by the author