Commit 6c15c2ab authored by Stephanus Volke's avatar Stephanus Volke

improve documentation of html-custom-element

parent 97549d7a
Pipeline #696 passed with stages
in 15 seconds
......@@ -10,10 +10,10 @@ provides some additional, often used methods.
equivalent of native getElementById, but works asynchroneous and
returns a Promise which resolves when the requested element is
- id {string} - id of the requested element
- {Promise<Node>} - resolve contains reference to the requested element
### addAttributeListener(Node, attrName, fn, IMT)
......@@ -22,5 +22,5 @@ like an event listener but for attributes. It observes an element
attribute for changes and invokes a pre defined callback function. For
this js MutationObservers are used.
- Node {Node}: reference to the element
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment