Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
html-custom-elements
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
JadeProListening
html-custom-elements
Commits
6c15c2ab
Commit
6c15c2ab
authored
Sep 20, 2016
by
Stephanus Volke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve documentation of html-custom-element
parent
97549d7a
Pipeline
#696
passed with stages
in 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
html-custom-element.md
doc/html-custom-element.md
+4
-4
No files found.
doc/html-custom-element.md
View file @
6c15c2ab
...
...
@@ -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
aviable.
*
Parameters
*
*
*Parameters*
*
-
id {string} - id of the requested element
*
Return
*
*
*Return*
*
-
{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.
*
Parameters
*
-
*
*Parameters*
*
-
Node {Node}: reference to the element
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment