0.10.2
Creates a document fragment
DocumentFragment
:
Creates an <base>
element with some attributes
(object)
HTMLBaseElement
:
Creates a <link>
element with some attributes
(object)
Global attributes
HTMLLinkElement
:
Creates a <meta>
element with some attributes
(object)
Global attributes
HTMLMetaElement
:
Creates a <title>
element with some attributes
(object)
Global attributes
((Text | HTMLElement | Array<HTMLElement>))
Content
HTMLTitleElement
:
Creates a <template>
element with some attributes
(object)
Global attributes
((Text | HTMLElement | Array<HTMLElement>))
Content
HTMLTemplateElement
:
Creates a <header>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates an <footer>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates an <main>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates an <article>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates an <section>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates an <nav>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates an <aside>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <h1>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLHeadingElement
:
Creates a <h2>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLHeadingElement
:
Creates a <h3>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLHeadingElement
:
Creates a <h4>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLHeadingElement
:
Creates a <h5>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLHeadingElement
:
Creates a <h6>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLHeadingElement
:
Creates a <div>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLDivElement
:
Creates a <br>
element \
Line break (carriage-return)
HTMLBRElement
:
Creates a <hr>
element \
Thematic break
HTMLHRElement
:
Creates a <p>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLParagraphElement
:
Creates a <blockquote>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLQuoteElement
:
Creates a <ul>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLUListElement
:
Creates a <ol>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLOListElement
:
Creates a <li>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLLIElement
:
Creates a <dl>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLDListElement
:
Creates a <dt>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <dd>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates an <a>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLAnchorElement
:
Creates a <audio>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLAudioElement
:
Creates a <img>
element with some attributes
(object)
HTMLImageElement
:
Creates a <figure>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <object>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLObjectElement
:
Creates a <picture>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLPictureElement
:
Creates a <source>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLSourceElement
:
Creates a <video>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLVideoElement
:
Creates a <span>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLSpanElement
:
Creates a <strong>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <em>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <mark>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <samp>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <sub>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <sup>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <del>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLModElement
:
Creates a <ins>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLModElement
:
Creates a <q>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLQuoteElement
:
Creates a <abbr>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <b>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <i>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <s>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <u>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <cite>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <code>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLElement
:
Creates a <form>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLFormElement
:
Creates an <input>
element with some attributes
(object)
HTMLInputElement
:
Creates a <textarea>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTextAreaElement
:
Creates a <label>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLLabelElement
:
Creates a <select>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLSelectElement
:
Creates a <option>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLOptionElement
:
Creates a <optgroup>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLOptGroupElement
:
Creates a <fieldset>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLFieldSetElement
:
Creates a <legend>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLLabelElement
:
Creates a <datalist>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTextAreaElement
:
Creates a <meter>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTextAreaElement
:
Creates a <progress>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTextAreaElement
:
Creates a <output>
element with optionally some attributes and children elements
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTextAreaElement
:
Creates a <button>
element with optionally some attributes and children elements
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLButtonElement
:
Creates a <table>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableElement
:
Creates a <thead>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableSectionElement
:
Creates a <tbody>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableSectionElement
:
Creates a <tfoot>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableSectionElement
:
Creates a <col>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableColElement
:
Creates a <colgroup>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableColElement
:
Creates a <tr>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableRowElement
:
Creates a <th>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableCellElement
:
Creates a <td>
element with some attributes
(object)
((Text | HTMLElement | Array<HTMLElement>))
HTMLTableCellElement
:
Verifies that an element is visible
(!HTMLElement)
boolean
:
Verifies that an element is displayed inside a target element
(!HTMLElement)
(!HTMLElement)
boolean
:
Returns the first element within the specified container that matches the specified selector, group or selectors.
(!string)
A DOMString containing one or more selectors to match
((HTMLElement | DocumentFragment)?)
Container queried
(HTMLElement | null)
:
The first element matches that matches the specified set of CSS selectors.
Returns all elements that match the selector query.
(!string)
A DOMString containing one or more selectors to match
((HTMLElement | DocumentFragment)?)
Container queried
(HTMLCollection | NodeList)
:
A live or
static
(not live) collection of the
container
's children Element that match the
selector
.
Returns the first Template within the specified container that matches the specified selector, group or selectors.
(string)
A DOMString containing one or more selectors to match
(HTMLElement?)
Container queried
(HTMLTemplateElement | null)
:
The first Template matches that matches the specified set of CSS selectors.
Returns a duplicate of the template.
(HTMLTemplateElement)
(boolean)
used to decide whether the children of the template should also be clone
DocumentFragment
:
The template's clone.
Gets the previous element of the specified one in its parent's children list
(HTMLElement)
element
(any)
Search end condition
(Element | null)
:
Element or null if the specified element is the first one in the list
Gets the element following the specified one in its parent's children list
(HTMLElement)
element
(any)
Search end condition
(Element | null)
:
Element or null if the specified element is the last one in the list
Gets the window's width
Gets the window's height
Sets the attributes of an element
HTMLElement
:
Changes the selected option of a <select>
element
(!HTMLSelectElement)
(!string)
option value to select
boolean
:
value indicating whether the option was found and selected
Copies selected content to clipboard
((HTMLElement | string))
boolean
:
Value indicating whether the content has been succesfully copied to the clipboard
Object equality
(HTMLOptionElement)
(any)
String equality