UNPKG

onemsdk

Version:
1,982 lines (1,944 loc) 77.3 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Home - Documentation </title> <link href="https://www.braintreepayments.com/images/favicon-ccda0b14.png" rel="icon" type="image/png"> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script> <script>hljs.initHighlightingOnLoad();</script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> <link type="text/css" rel="stylesheet" href="styles/collapse.css"> <!-- start Mixpanel --> <script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments, 0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" "); for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";c=e.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]); mixpanel.init("1919205b2da72e4da3b9b6639b444d59");</script> <!-- end Mixpanel --> </head> <body> <svg style="display: none;"> <defs> <symbol id="linkIcon" fill="#706d77" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/> </symbol> </defs> </svg> <input type="checkbox" id="nav-trigger" class="nav-trigger" /> <label for="nav-trigger" class="navicon-button x"> <div class="navicon"></div> </label> <label for="nav-trigger" class="overlay"></label> <div class="top-nav-wrapper"> <ul> <li class="active" > <a href="index.html"> <svg fill="#0095dd" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"> <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg> </a> </li> </ul> </div> <nav> <h3 class="reference-title"> NodeJS ONEm SDK </h3> <h3>Classes</h3><ul><li id="Card-nav"><a href="Card.html">Card</a><ul class='methods'><li data-type="method" id="Card-fromTag-nav"><a href="Card.html#.fromTag">fromTag</a></li></ul></li><li id="CardAction-nav"><a href="CardAction.html">CardAction</a><ul class='methods'><li data-type="method" id="CardAction-fromTag-nav"><a href="CardAction.html#.fromTag">fromTag</a></li></ul></li><li id="CardAvatar-nav"><a href="CardAvatar.html">CardAvatar</a></li><li id="CardHeader-nav"><a href="CardHeader.html">CardHeader</a><ul class='methods'><li data-type="method" id="CardHeader-fromTag-nav"><a href="CardHeader.html#.fromTag">fromTag</a></li></ul></li><li id="Form-nav"><a href="Form.html">Form</a><ul class='methods'><li data-type="method" id="Form-fromTag-nav"><a href="Form.html#.fromTag">fromTag</a></li></ul></li><li id="FormItem-nav"><a href="FormItem.html">FormItem</a><ul class='methods'><li data-type="method" id="FormItem-fromTag-nav"><a href="FormItem.html#.fromTag">fromTag</a></li></ul></li><li id="FormMeta-nav"><a href="FormMeta.html">FormMeta</a></li><li id="Menu-nav"><a href="Menu.html">Menu</a><ul class='methods'><li data-type="method" id="Menu-fromTag-nav"><a href="Menu.html#.fromTag">fromTag</a></li></ul></li><li id="MenuFormItemMeta-nav"><a href="MenuFormItemMeta.html">MenuFormItemMeta</a></li><li id="MenuItem-nav"><a href="MenuItem.html">MenuItem</a><ul class='methods'><li data-type="method" id="MenuItem-fromTag-nav"><a href="MenuItem.html#.fromTag">fromTag</a></li></ul></li><li id="MenuItemFormItem-nav"><a href="MenuItemFormItem.html">MenuItemFormItem</a><ul class='methods'><li data-type="method" id="MenuItemFormItem-fromTag-nav"><a href="MenuItemFormItem.html#.fromTag">fromTag</a></li></ul></li><li id="MenuMeta-nav"><a href="MenuMeta.html">MenuMeta</a></li><li id="Response-nav"><a href="Response.html">Response</a><ul class='methods'><li data-type="method" id="Response-fromTag-nav"><a href="Response.html#.fromTag">fromTag</a></li></ul></li><li id="Snackbar-nav"><a href="global.html#Snackbar">Snackbar</a></li><li id="SnackbarMeta-nav"><a href="SnackbarMeta.html">SnackbarMeta</a></li></ul><h3 id="global-nav"><a href="global.html">Global</a></h3> </nav> <div id="main"> <section class="readme"> <article> <h2>Classes</h2> <dl> <dt><a href="#ATagAttrs">ATagAttrs</a></dt> <dd></dd> <dt><a href="#ATag">ATag</a></dt> <dd></dd> <dt><a href="#BrTag">BrTag</a></dt> <dd></dd> <dt><a href="#CardTagAttrs">CardTagAttrs</a></dt> <dd></dd> <dt><a href="#CardTag">CardTag</a></dt> <dd></dd> <dt><a href="#CardActionTagAttrs">CardActionTagAttrs</a></dt> <dd></dd> <dt><a href="#CardActionTag">CardActionTag</a></dt> <dd></dd> <dt><a href="#CardActionsTag">CardActionsTag</a></dt> <dd></dd> <dt><a href="#CardAvatarTagAttrs">CardAvatarTagAttrs</a></dt> <dd></dd> <dt><a href="#CardAvatarTag">CardAvatarTag</a></dt> <dd></dd> <dt><a href="#CardContentTagAttrs">CardContentTagAttrs</a></dt> <dd></dd> <dt><a href="#CardContentTag">CardContentTag</a></dt> <dd></dd> <dt><a href="#CardHeaderTagAttrs">CardHeaderTagAttrs</a></dt> <dd></dd> <dt><a href="#CardHeaderTag">CardHeaderTag</a></dt> <dd></dd> <dt><a href="#CardMediaTagAttrs">CardMediaTagAttrs</a></dt> <dd></dd> <dt><a href="#CardMediaTag">CardMediaTag</a></dt> <dd></dd> <dt><a href="#FooterTag">FooterTag</a></dt> <dd></dd> <dt><a href="#FormTagAttrs">FormTagAttrs</a></dt> <dd></dd> <dt><a href="#FormTag">FormTag</a></dt> <dd></dd> <dt><a href="#HeaderTag">HeaderTag</a></dt> <dd></dd> <dt><a href="#ImgTagAttrs">ImgTagAttrs</a></dt> <dd></dd> <dt><a href="#ImgTag">ImgTag</a></dt> <dd></dd> <dt><a href="#InputTagAttrs">InputTagAttrs</a></dt> <dd></dd> <dt><a href="#InputTag">InputTag</a></dt> <dd></dd> <dt><a href="#LiTagAttrs">LiTagAttrs</a></dt> <dd></dd> <dt><a href="#LiTag">LiTag</a></dt> <dd></dd> <dt><a href="#LoginTagAttrs">LoginTagAttrs</a></dt> <dd></dd> <dt><a href="#LoginTag">LoginTag</a></dt> <dd></dd> <dt><a href="#LogoutTagAttrs">LogoutTagAttrs</a></dt> <dd></dd> <dt><a href="#LogoutTag">LogoutTag</a></dt> <dd></dd> <dt><a href="#PTag">PTag</a></dt> <dd></dd> <dt><a href="#SectionTagAttrs">SectionTagAttrs</a></dt> <dd></dd> <dt><a href="#SectionTag">SectionTag</a></dt> <dd></dd> <dt><a href="#SnackbarTagAttrs">SnackbarTagAttrs</a></dt> <dd></dd> <dt><a href="#SnackbarTag">SnackbarTag</a></dt> <dd></dd> <dt><a href="#Tag">Tag</a></dt> <dd></dd> <dt><a href="#TextareaTag">TextareaTag</a></dt> <dd></dd> <dt><a href="#UlTag">UlTag</a></dt> <dd></dd> <dt><a href="#VideoTagAttrs">VideoTagAttrs</a></dt> <dd></dd> <dt><a href="#VideoTag">VideoTag</a></dt> <dd></dd> </dl> <h2>Typedefs</h2> <dl> <dt><a href="#ATag">ATag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#BrTag">BrTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#CardTag">CardTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#CardActionTag">CardActionTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#CardActionsTag">CardActionsTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#CardAvatarTag">CardAvatarTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#CardContentTag">CardContentTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#CardHeaderTag">CardHeaderTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#CardMediaTag">CardMediaTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#FooterTag">FooterTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#FormTag">FormTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#HeaderTag">HeaderTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#ImgTag">ImgTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#InputTag">InputTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#LabelTag">LabelTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#LiTag">LiTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#LoginTag">LoginTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#LogoutTag">LogoutTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#PTag">PTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#SectionTag">SectionTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#SnackbarTag">SnackbarTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#Tag">Tag</a></dt> <dd></dd> <dt><a href="#TextareaTag">TextareaTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#UlTag">UlTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> <dt><a href="#VideoTag">VideoTag</a> ⇐ <code><a href="#Tag">Tag</a></code></dt> <dd></dd> </dl> <p><a name="ATagAttrs"></a></p> <h2>ATagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_ATagAttrs_new"></a></p> <h3>new ATagAttrs(href, method)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>href</td> <td><code>string</code></td> <td></td> </tr> <tr> <td>method</td> <td><code>'GET'</code> | <code>'POST'</code></td> <td>default 'GET'</td> </tr> </tbody> </table> <p><a name="ATag"></a></p> <h2>ATag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#ATag">ATag</a> <ul> <li><a href="#new_ATag_new">new ATag(children, attrs)</a></li> <li><a href="#ATag.getAttributes">.getAttributes(node)</a></li> </ul> </li> </ul> <p><a name="new_ATag_new"></a></p> <h3>new ATag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;string&gt;</code></td> </tr> <tr> <td>attrs</td> <td><a href="#ATagAttrs"><code>ATagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="ATag.getAttributes"></a></p> <h3>ATag.getAttributes(node)</h3> <p><strong>Kind</strong>: static method of <a href="#ATag"><code>ATag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLAnchorElement</code></td> </tr> </tbody> </table> <p><a name="BrTag"></a></p> <h2>BrTag</h2> <p><strong>Kind</strong>: global class<br> <a name="CardTagAttrs"></a></p> <h2>CardTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_CardTagAttrs_new"></a></p> <h3>new CardTagAttrs([action], [method])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>[action]</td> <td><code>string</code></td> <td></td> <td>Optional path to call when the card is selected</td> </tr> <tr> <td>[method]</td> <td><code>string</code></td> <td><code>&quot;&amp;quot;GET&amp;quot;&quot;</code></td> <td>Optional method associated with the action</td> </tr> </tbody> </table> <p><a name="CardTag"></a></p> <h2>CardTag</h2> <p><strong>Kind</strong>: global class<br> <strong>Properties</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;(CardHeaderTag|CardMediaTag|CardContentTag|CardActionsTag)&gt;</code></td> </tr> </tbody> </table> <ul> <li><a href="#CardTag">CardTag</a> <ul> <li><a href="#new_CardTag_new">new CardTag(attrs)</a></li> <li><a href="#CardTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#CardTagAttrs"><code>CardTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_CardTag_new"></a></p> <h3>new CardTag(attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>attrs</td> <td><a href="#CardTagAttrs"><code>CardTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="CardTag.getAttributes"></a></p> <h3>CardTag.getAttributes(node) ⇒ <a href="#CardTagAttrs"><code>CardTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#CardTag"><code>CardTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="CardActionTagAttrs"></a></p> <h2>CardActionTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_CardActionTagAttrs_new"></a></p> <h3>new CardActionTagAttrs(name, path, method)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>name</td> <td><code>string</code></td> <td>name of the card action button</td> </tr> <tr> <td>path</td> <td><code>string</code></td> <td>path for the callback when the card action is selected</td> </tr> <tr> <td>method</td> <td><code>string</code></td> <td>to use for the callback</td> </tr> </tbody> </table> <p><a name="CardActionTag"></a></p> <h2>CardActionTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#CardActionTag">CardActionTag</a> <ul> <li><a href="#new_CardActionTag_new">new CardActionTag(children, attrs)</a></li> <li><a href="#CardActionTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#CardActionTagAttrs"><code>CardActionTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_CardActionTag_new"></a></p> <h3>new CardActionTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#CardActionTagAttrs"><code>CardActionTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="CardActionTag.getAttributes"></a></p> <h3>CardActionTag.getAttributes(node) ⇒ <a href="#CardActionTagAttrs"><code>CardActionTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#CardActionTag"><code>CardActionTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="CardActionsTag"></a></p> <h2>CardActionsTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_CardActionsTag_new"></a></p> <h3>new CardActionsTag(children)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><a href="#CardActionTag"><code>Array.&lt;CardActionTag&gt;</code></a></td> </tr> </tbody> </table> <p><a name="CardAvatarTagAttrs"></a></p> <h2>CardAvatarTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_CardAvatarTagAttrs_new"></a></p> <h3>new CardAvatarTagAttrs([src], [name])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>[src]</td> <td><code>string</code></td> <td>public url of the avatar png image</td> </tr> <tr> <td>[name]</td> <td><code>string</code></td> <td>name of the avatar</td> </tr> </tbody> </table> <p><a name="CardAvatarTag"></a></p> <h2>CardAvatarTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#CardAvatarTag">CardAvatarTag</a> <ul> <li><a href="#new_CardAvatarTag_new">new CardAvatarTag(children, attrs)</a></li> <li><a href="#CardAvatarTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#CardAvatarTagAttrs"><code>CardAvatarTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_CardAvatarTag_new"></a></p> <h3>new CardAvatarTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#CardAvatarTagAttrs"><code>CardAvatarTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="CardAvatarTag.getAttributes"></a></p> <h3>CardAvatarTag.getAttributes(node) ⇒ <a href="#CardAvatarTagAttrs"><code>CardAvatarTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#CardAvatarTag"><code>CardAvatarTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="CardContentTagAttrs"></a></p> <h2>CardContentTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_CardContentTagAttrs_new"></a></p> <h3>new CardContentTagAttrs([title], [subtitle], [content])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>[title]</td> <td><code>string</code></td> <td>title of the card</td> </tr> <tr> <td>[subtitle]</td> <td><code>string</code></td> <td>subtitle of the card</td> </tr> <tr> <td>[content]</td> <td><code>string</code></td> <td>text content to be displayed</td> </tr> </tbody> </table> <p><a name="CardContentTag"></a></p> <h2>CardContentTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#CardContentTag">CardContentTag</a> <ul> <li><a href="#new_CardContentTag_new">new CardContentTag(children, attrs)</a></li> <li><a href="#CardContentTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#CardContentTagAttrs"><code>CardContentTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_CardContentTag_new"></a></p> <h3>new CardContentTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#CardContentTagAttrs"><code>CardContentTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="CardContentTag.getAttributes"></a></p> <h3>CardContentTag.getAttributes(node) ⇒ <a href="#CardContentTagAttrs"><code>CardContentTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#CardContentTag"><code>CardContentTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="CardHeaderTagAttrs"></a></p> <h2>CardHeaderTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_CardHeaderTagAttrs_new"></a></p> <h3>new CardHeaderTagAttrs(title, [subtitle])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>title</td> <td><code>string</code></td> <td>Title text</td> </tr> <tr> <td>[subtitle]</td> <td><code>string</code></td> <td>Optional subtitle text</td> </tr> </tbody> </table> <p><a name="CardHeaderTag"></a></p> <h2>CardHeaderTag</h2> <p><strong>Kind</strong>: global class<br> <strong>Properties</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>[children]</td> <td><a href="#CardAvatarTag"><code>Array.&lt;CardAvatarTag&gt;</code></a></td> </tr> </tbody> </table> <ul> <li><a href="#CardHeaderTag">CardHeaderTag</a> <ul> <li><a href="#new_CardHeaderTag_new">new CardHeaderTag(attrs)</a></li> <li><a href="#CardHeaderTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#CardHeaderTagAttrs"><code>CardHeaderTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_CardHeaderTag_new"></a></p> <h3>new CardHeaderTag(attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>attrs</td> <td><a href="#CardHeaderTagAttrs"><code>CardHeaderTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="CardHeaderTag.getAttributes"></a></p> <h3>CardHeaderTag.getAttributes(node) ⇒ <a href="#CardHeaderTagAttrs"><code>CardHeaderTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#CardHeaderTag"><code>CardHeaderTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="CardMediaTagAttrs"></a></p> <h2>CardMediaTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_CardMediaTagAttrs_new"></a></p> <h3>new CardMediaTagAttrs([src], [avatarName])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>[src]</td> <td><code>string</code></td> <td>public url of the avatar png image</td> </tr> <tr> <td>[avatarName]</td> <td><code>string</code></td> <td>name of the avatar</td> </tr> </tbody> </table> <p><a name="CardMediaTag"></a></p> <h2>CardMediaTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#CardMediaTag">CardMediaTag</a> <ul> <li><a href="#new_CardMediaTag_new">new CardMediaTag(children, attrs)</a></li> <li><a href="#CardMediaTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#CardMediaTagAttrs"><code>CardMediaTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_CardMediaTag_new"></a></p> <h3>new CardMediaTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#CardMediaTagAttrs"><code>CardMediaTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="CardMediaTag.getAttributes"></a></p> <h3>CardMediaTag.getAttributes(node) ⇒ <a href="#CardMediaTagAttrs"><code>CardMediaTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#CardMediaTag"><code>CardMediaTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="FooterTag"></a></p> <h2>FooterTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_FooterTag_new"></a></p> <h3>new FooterTag(children)</h3> <p>Instantiates a new FooterTag</p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;string&gt;</code></td> </tr> </tbody> </table> <p><a name="FormTagAttrs"></a></p> <h2>FormTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_FormTagAttrs_new"></a></p> <h3>new FormTagAttrs(action, method, header, footer, completionStatusShow, completionStatusInHeader, skipConfirmation)</h3> <p>Instantiates a new FormTagAttrs</p> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>action</td> <td><code>string</code></td> <td>the path where the form data is sent to after the user finishes the form</td> </tr> <tr> <td>method</td> <td><code>string</code></td> <td>the method use to send the form data</td> </tr> <tr> <td>header</td> <td><code>string</code> | <code>undefined</code></td> <td>the global form header which can be overwritten at the SectionTag level</td> </tr> <tr> <td>footer</td> <td><code>string</code> | <code>undefined</code></td> <td>the global form footer which can be overwritten at the SectionTag level</td> </tr> <tr> <td>completionStatusShow</td> <td><code>boolean</code> | <code>undefined</code></td> <td>whether to display the progress the user made in a form</td> </tr> <tr> <td>completionStatusInHeader</td> <td><code>boolean</code> | <code>undefined</code></td> <td>whether to display that progress in header (if false it will be displayed in body)</td> </tr> <tr> <td>skipConfirmation</td> <td><code>boolean</code> | <code>undefined</code></td> <td>whether the additional confirmation step at the end of the form will be skipped</td> </tr> </tbody> </table> <p><a name="FormTag"></a></p> <h2>FormTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_FormTag_new"></a></p> <h3>new FormTag(children, attrs)</h3> <p>Instantiates a new FormTag. It is the equivalent of the HTML <form> tag and it is always the root (it cannot be placed inside of another tag). The FormTag is be used in all the situations where some data is expected from the user. The FormTag can have one SnackbarTag child followed by multiple SectionTag children and each SectionTag deals with one piece of data from the user.</p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><a href="#SectionTag"><code>Array.&lt;SectionTag&gt;</code></a></td> </tr> <tr> <td>attrs</td> <td><a href="#FormTagAttrs"><code>FormTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="HeaderTag"></a></p> <h2>HeaderTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_HeaderTag_new"></a></p> <h3>new HeaderTag(children)</h3> <p>Instantiates a new HeaderTag</p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;string&gt;</code></td> </tr> </tbody> </table> <p><a name="ImgTagAttrs"></a></p> <h2>ImgTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_ImgTagAttrs_new"></a></p> <h3>new ImgTagAttrs([src], [alt])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>[src]</td> <td><code>string</code></td> </tr> <tr> <td>[alt]</td> <td><code>string</code></td> </tr> </tbody> </table> <p><a name="ImgTag"></a></p> <h2>ImgTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#ImgTag">ImgTag</a> <ul> <li><a href="#new_ImgTag_new">new ImgTag(children, attrs)</a></li> <li><a href="#ImgTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#ImgTagAttrs"><code>ImgTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_ImgTag_new"></a></p> <h3>new ImgTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#InputTagAttrs"><code>InputTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="ImgTag.getAttributes"></a></p> <h3>ImgTag.getAttributes(node) ⇒ <a href="#ImgTagAttrs"><code>ImgTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#ImgTag"><code>ImgTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLImgElement</code></td> </tr> </tbody> </table> <p><a name="InputTagAttrs"></a></p> <h2>InputTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_InputTagAttrs_new"></a></p> <h3>new InputTagAttrs(type, [min], [minError], [minlength must be an integer], [minlengthError], [max], [maxError], [maxlength must be an integer], [maxlengthError], [step], [value], [pattern])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>type</td> <td><code>'date'</code> | <code>'datetime'</code> | <code>'email'</code> | <code>'hidden'</code> | <code>'location'</code> | <code>'number'</code> | <code>'phone'</code> | <code>'range'</code> | <code>'tel'</code> | <code>'text'</code> | <code>'textarea'</code> | <code>'url'</code></td> <td></td> </tr> <tr> <td>[min]</td> <td><code>number</code></td> <td></td> </tr> <tr> <td>[minError]</td> <td><code>string</code></td> <td></td> </tr> <tr> <td>[minlength must be an integer]</td> <td><code>number</code></td> <td></td> </tr> <tr> <td>[minlengthError]</td> <td><code>string</code></td> <td></td> </tr> <tr> <td>[max]</td> <td><code>number</code></td> <td></td> </tr> <tr> <td>[maxError]</td> <td><code>string</code></td> <td></td> </tr> <tr> <td>[maxlength must be an integer]</td> <td><code>number</code></td> <td></td> </tr> <tr> <td>[maxlengthError]</td> <td><code>string</code></td> <td></td> </tr> <tr> <td>[step]</td> <td><code>number</code></td> <td></td> </tr> <tr> <td>[value]</td> <td><code>string</code></td> <td>required if type=&quot;hidden&quot;</td> </tr> <tr> <td>[pattern]</td> <td><code>string</code></td> <td></td> </tr> </tbody> </table> <p><a name="InputTag"></a></p> <h2>InputTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#InputTag">InputTag</a> <ul> <li><a href="#new_InputTag_new">new InputTag(children, attrs)</a></li> <li><a href="#InputTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#InputTagAttrs"><code>InputTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_InputTag_new"></a></p> <h3>new InputTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#InputTagAttrs"><code>InputTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="InputTag.getAttributes"></a></p> <h3>InputTag.getAttributes(node) ⇒ <a href="#InputTagAttrs"><code>InputTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#InputTag"><code>InputTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLInputElement</code></td> </tr> </tbody> </table> <p><a name="LiTagAttrs"></a></p> <h2>LiTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_LiTagAttrs_new"></a></p> <h3>new LiTagAttrs(value, textSearch)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>value</td> <td><code>string</code> | <code>undefined</code></td> </tr> <tr> <td>textSearch</td> <td><code>string</code> | <code>undefined</code></td> </tr> </tbody> </table> <p><a name="LiTag"></a></p> <h2>LiTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_LiTag_new"></a></p> <h3>new LiTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;(ATag|string)&gt;</code></td> </tr> <tr> <td>attrs</td> <td><a href="#LiTagAttrs"><code>LiTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="LoginTagAttrs"></a></p> <h2>LoginTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_LoginTagAttrs_new"></a></p> <h3>new LoginTagAttrs([onSuccess], [onFailure])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>[onSuccess]</td> <td><code>string</code></td> </tr> <tr> <td>[onFailure]</td> <td><code>string</code></td> </tr> </tbody> </table> <p><a name="LoginTag"></a></p> <h2>LoginTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#LoginTag">LoginTag</a> <ul> <li><a href="#new_LoginTag_new">new LoginTag(children, attrs)</a></li> <li><a href="#LoginTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#LoginTagAttrs"><code>LoginTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_LoginTag_new"></a></p> <h3>new LoginTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#LoginTagAttrs"><code>LoginTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="LoginTag.getAttributes"></a></p> <h3>LoginTag.getAttributes(node) ⇒ <a href="#LoginTagAttrs"><code>LoginTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#LoginTag"><code>LoginTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="LogoutTagAttrs"></a></p> <h2>LogoutTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_LogoutTagAttrs_new"></a></p> <h3>new LogoutTagAttrs([onSuccess], [onFailure])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>[onSuccess]</td> <td><code>string</code></td> </tr> <tr> <td>[onFailure]</td> <td><code>string</code></td> </tr> </tbody> </table> <p><a name="LogoutTag"></a></p> <h2>LogoutTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#LogoutTag">LogoutTag</a> <ul> <li><a href="#new_LogoutTag_new">new LogoutTag(children, attrs)</a></li> <li><a href="#LogoutTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#LogoutTagAttrs"><code>LogoutTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_LogoutTag_new"></a></p> <h3>new LogoutTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#LogoutTagAttrs"><code>LogoutTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="LogoutTag.getAttributes"></a></p> <h3>LogoutTag.getAttributes(node) ⇒ <a href="#LogoutTagAttrs"><code>LogoutTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#LogoutTag"><code>LogoutTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="PTag"></a></p> <h2>PTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_PTag_new"></a></p> <h3>new PTag(children)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;string&gt;</code></td> </tr> </tbody> </table> <p><a name="SectionTagAttrs"></a></p> <h2>SectionTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_SectionTagAttrs_new"></a></p> <h3>new SectionTagAttrs([props])</h3> <p>Instantiates a new SectionTagAttrs</p> <table> <thead> <tr> <th>Param</th> <th>Type</th> <th>Default</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td>[props]</td> <td><code>object</code></td> <td></td> <td></td> </tr> <tr> <td>[props.name]</td> <td><code>string</code></td> <td></td> <td>this attribute is relevant only if the SectionTag is part of a FormTag</td> </tr> <tr> <td>[props.header]</td> <td><code>string</code></td> <td></td> <td>text that will be included in header</td> </tr> <tr> <td>[props.footer]</td> <td><code>string</code></td> <td></td> <td>text that will be included in footer</td> </tr> <tr> <td>[props.autoSelect]</td> <td><code>boolean</code></td> <td><code>false</code></td> <td></td> </tr> <tr> <td>[props.multiSelect]</td> <td><code>boolean</code></td> <td><code>false</code></td> <td></td> </tr> <tr> <td>[props.numbered]</td> <td><code>boolean</code></td> <td><code>false</code></td> <td></td> </tr> <tr> <td>[props.chunkingFooter]</td> <td><code>string</code></td> <td></td> <td></td> </tr> <tr> <td>[props.confirmationLabel]</td> <td><code>string</code></td> <td></td> <td></td> </tr> <tr> <td>[props.method]</td> <td><code>string</code></td> <td></td> <td></td> </tr> <tr> <td>[props.required]</td> <td><code>boolean</code></td> <td><code>false</code></td> <td></td> </tr> <tr> <td>[props.default]</td> <td><code>string</code></td> <td></td> <td></td> </tr> <tr> <td>[props.statusExclude]</td> <td><code>boolean</code></td> <td><code>false</code></td> <td></td> </tr> <tr> <td>[props.statusPrepend]</td> <td><code>boolean</code></td> <td><code>false</code></td> <td></td> </tr> <tr> <td>[props.url]</td> <td><code>string</code></td> <td></td> <td></td> </tr> <tr> <td>[props.validateTypeError]</td> <td><code>string</code></td> <td></td> <td></td> </tr> <tr> <td>[props.validateTypeErrorFooter]</td> <td><code>string</code></td> <td></td> <td></td> </tr> <tr> <td>[props.validateUrl]</td> <td><code>string</code></td> <td></td> <td></td> </tr> </tbody> </table> <p><a name="SectionTag"></a></p> <h2>SectionTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_SectionTag_new"></a></p> <h3>new SectionTag(children, attrs)</h3> <p>Instantiates a new SectionTag. A SectionTag may represent a step in a form, a menu or a block of text. A user will always receive the content of a SectionTag at a time.</p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;(PTag|BrTag|UlTag|LabelTag|LoginTag|LogoutTag|HeaderTag|FooterTag|TextareaTag|InputTag|ImgTag|VideoTag|CardTag)&gt;</code></td> </tr> <tr> <td>attrs</td> <td><a href="#SectionTagAttrs"><code>SectionTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="SnackbarTagAttrs"></a></p> <h2>SnackbarTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_SnackbarTagAttrs_new"></a></p> <h3>new SnackbarTagAttrs([message], [severity])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>[message]</td> <td><code>string</code></td> </tr> <tr> <td>[severity]</td> <td><code>string</code></td> </tr> </tbody> </table> <p><a name="SnackbarTag"></a></p> <h2>SnackbarTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#SnackbarTag">SnackbarTag</a> <ul> <li><a href="#new_SnackbarTag_new">new SnackbarTag(children, attrs)</a></li> <li><a href="#SnackbarTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#SnackbarTagAttrs"><code>SnackbarTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_SnackbarTag_new"></a></p> <h3>new SnackbarTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#SnackbarTagAttrs"><code>SnackbarTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="SnackbarTag.getAttributes"></a></p> <h3>SnackbarTag.getAttributes(node) ⇒ <a href="#SnackbarTagAttrs"><code>SnackbarTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#SnackbarTag"><code>SnackbarTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="Tag"></a></p> <h2>Tag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#Tag">Tag</a> <ul> <li><a href="#new_Tag_new">new Tag(children, attrs)</a></li> <li><a href="#Tag.fromNode">.fromNode(node)</a> ⇒ <a href="#FormTag"><code>FormTag</code></a> | <a href="#CardTag"><code>CardTag</code></a> | <a href="#CardHeaderTag"><code>CardHeaderTag</code></a> | <a href="#CardAvatarTag"><code>CardAvatarTag</code></a> | <a href="#CardMediaTag"><code>CardMediaTag</code></a> | <a href="#CardContentTag"><code>CardContentTag</code></a> | <a href="#CardActionsTag"><code>CardActionsTag</code></a> | <a href="#CardActionTag"><code>CardActionTag</code></a> | <a href="#SectionTag"><code>SectionTag</code></a> | <a href="#SnackbarTag"><code>SnackbarTag</code></a> | <a href="#UlTag"><code>UlTag</code></a> | <a href="#LiTag"><code>LiTag</code></a> | <a href="#LoginTag"><code>LoginTag</code></a> | <a href="#LogoutTag"><code>LogoutTag</code></a> | <a href="#ATag"><code>ATag</code></a> | <a href="#PTag"><code>PTag</code></a> | <a href="#BrTag"><code>BrTag</code></a> | <a href="#HeaderTag"><code>HeaderTag</code></a> | <a href="#FooterTag"><code>FooterTag</code></a> | <a href="#InputTag"><code>InputTag</code></a> | <a href="#LabelTag"><code>LabelTag</code></a> | <a href="#TextareaTag"><code>TextareaTag</code></a> | <a href="#ImgTag"><code>ImgTag</code></a> | <a href="#VideoTag"><code>VideoTag</code></a></li> <li><a href="#Tag.getAttributes">.getAttributes(node)</a> ⇒ <code>Object</code> | <code>undefined</code></li> </ul> </li> </ul> <p><a name="new_Tag_new"></a></p> <h3>new Tag(children, attrs)</h3> <p>Instantiates a Tag</p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><a href="#Tag"><code>Array.&lt;Tag&gt;</code></a> | <code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><code>Object</code> | <code>undefined</code></td> </tr> </tbody> </table> <p><a name="Tag.fromNode"></a></p> <h3>Tag.fromNode(node) ⇒ <a href="#FormTag"><code>FormTag</code></a> | <a href="#CardTag"><code>CardTag</code></a> | <a href="#CardHeaderTag"><code>CardHeaderTag</code></a> | <a href="#CardAvatarTag"><code>CardAvatarTag</code></a> | <a href="#CardMediaTag"><code>CardMediaTag</code></a> | <a href="#CardContentTag"><code>CardContentTag</code></a> | <a href="#CardActionsTag"><code>CardActionsTag</code></a> | <a href="#CardActionTag"><code>CardActionTag</code></a> | <a href="#SectionTag"><code>SectionTag</code></a> | <a href="#SnackbarTag"><code>SnackbarTag</code></a> | <a href="#UlTag"><code>UlTag</code></a> | <a href="#LiTag"><code>LiTag</code></a> | <a href="#LoginTag"><code>LoginTag</code></a> | <a href="#LogoutTag"><code>LogoutTag</code></a> | <a href="#ATag"><code>ATag</code></a> | <a href="#PTag"><code>PTag</code></a> | <a href="#BrTag"><code>BrTag</code></a> | <a href="#HeaderTag"><code>HeaderTag</code></a> | <a href="#FooterTag"><code>FooterTag</code></a> | <a href="#InputTag"><code>InputTag</code></a> | <a href="#LabelTag"><code>LabelTag</code></a> | <a href="#TextareaTag"><code>TextareaTag</code></a> | <a href="#ImgTag"><code>ImgTag</code></a> | <a href="#VideoTag"><code>VideoTag</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#Tag"><code>Tag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="Tag.getAttributes"></a></p> <h3>Tag.getAttributes(node) ⇒ <code>Object</code> | <code>undefined</code></h3> <p>Returns the attributes specific to a certain tag</p> <p><strong>Kind</strong>: static method of <a href="#Tag"><code>Tag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="TextareaTag"></a></p> <h2>TextareaTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_TextareaTag_new"></a></p> <h3>new TextareaTag(children)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;string&gt;</code></td> </tr> </tbody> </table> <p><a name="UlTag"></a></p> <h2>UlTag</h2> <p><strong>Kind</strong>: global class<br> <a name="new_UlTag_new"></a></p> <h3>new UlTag(children)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><a href="#LiTag"><code>Array.&lt;LiTag&gt;</code></a></td> </tr> </tbody> </table> <p><a name="VideoTagAttrs"></a></p> <h2>VideoTagAttrs</h2> <p><strong>Kind</strong>: global class<br> <a name="new_VideoTagAttrs_new"></a></p> <h3>new VideoTagAttrs([src], [alt])</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>[src]</td> <td><code>string</code></td> </tr> <tr> <td>[alt]</td> <td><code>string</code></td> </tr> </tbody> </table> <p><a name="VideoTag"></a></p> <h2>VideoTag</h2> <p><strong>Kind</strong>: global class</p> <ul> <li><a href="#VideoTag">VideoTag</a> <ul> <li><a href="#new_VideoTag_new">new VideoTag(children, attrs)</a></li> <li><a href="#VideoTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#VideoTagAttrs"><code>VideoTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_VideoTag_new"></a></p> <h3>new VideoTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#InputTagAttrs"><code>InputTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="VideoTag.getAttributes"></a></p> <h3>VideoTag.getAttributes(node) ⇒ <a href="#VideoTagAttrs"><code>VideoTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#VideoTag"><code>VideoTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLVideoElement</code></td> </tr> </tbody> </table> <p><a name="ATag"></a></p> <h2>ATag ⇐ <a href="#Tag"><code>Tag</code></a></h2> <p><strong>Kind</strong>: global typedef<br> <strong>Extends</strong>: <a href="#Tag"><code>Tag</code></a><br> <strong>Properties</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;string&gt;</code></td> </tr> <tr> <td>attrs</td> <td><a href="#ATagAttrs"><code>ATagAttrs</code></a></td> </tr> </tbody> </table> <ul> <li><a href="#ATag">ATag</a> ⇐ <a href="#Tag"><code>Tag</code></a> <ul> <li><a href="#new_ATag_new">new ATag(children, attrs)</a></li> <li><a href="#ATag.getAttributes">.getAttributes(node)</a></li> </ul> </li> </ul> <p><a name="new_ATag_new"></a></p> <h3>new ATag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;string&gt;</code></td> </tr> <tr> <td>attrs</td> <td><a href="#ATagAttrs"><code>ATagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="ATag.getAttributes"></a></p> <h3>ATag.getAttributes(node)</h3> <p><strong>Kind</strong>: static method of <a href="#ATag"><code>ATag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLAnchorElement</code></td> </tr> </tbody> </table> <p><a name="BrTag"></a></p> <h2>BrTag ⇐ <a href="#Tag"><code>Tag</code></a></h2> <p><strong>Kind</strong>: global typedef<br> <strong>Extends</strong>: <a href="#Tag"><code>Tag</code></a><br> <strong>Properties</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><code>undefined</code></td> </tr> </tbody> </table> <p><a name="CardTag"></a></p> <h2>CardTag ⇐ <a href="#Tag"><code>Tag</code></a></h2> <p><strong>Kind</strong>: global typedef<br> <strong>Extends</strong>: <a href="#Tag"><code>Tag</code></a><br> <strong>Properties</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>Array.&lt;(CardHeaderTag|CardMediaTag|CardContentTag|CardActionsTag)&gt;</code></td> </tr> <tr> <td>attrs</td> <td><a href="#CardTagAttrs"><code>CardTagAttrs</code></a></td> </tr> </tbody> </table> <ul> <li><a href="#CardTag">CardTag</a> ⇐ <a href="#Tag"><code>Tag</code></a> <ul> <li><a href="#new_CardTag_new">new CardTag(attrs)</a></li> <li><a href="#CardTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#CardTagAttrs"><code>CardTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_CardTag_new"></a></p> <h3>new CardTag(attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>attrs</td> <td><a href="#CardTagAttrs"><code>CardTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="CardTag.getAttributes"></a></p> <h3>CardTag.getAttributes(node) ⇒ <a href="#CardTagAttrs"><code>CardTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#CardTag"><code>CardTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="CardActionTag"></a></p> <h2>CardActionTag ⇐ <a href="#Tag"><code>Tag</code></a></h2> <p><strong>Kind</strong>: global typedef<br> <strong>Extends</strong>: <a href="#Tag"><code>Tag</code></a><br> <strong>Properties</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#CardActionTagAttrs"><code>CardActionTagAttrs</code></a></td> </tr> </tbody> </table> <ul> <li><a href="#CardActionTag">CardActionTag</a> ⇐ <a href="#Tag"><code>Tag</code></a> <ul> <li><a href="#new_CardActionTag_new">new CardActionTag(children, attrs)</a></li> <li><a href="#CardActionTag.getAttributes">.getAttributes(node)</a> ⇒ <a href="#CardActionTagAttrs"><code>CardActionTagAttrs</code></a></li> </ul> </li> </ul> <p><a name="new_CardActionTag_new"></a></p> <h3>new CardActionTag(children, attrs)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><code>undefined</code></td> </tr> <tr> <td>attrs</td> <td><a href="#CardActionTagAttrs"><code>CardActionTagAttrs</code></a></td> </tr> </tbody> </table> <p><a name="CardActionTag.getAttributes"></a></p> <h3>CardActionTag.getAttributes(node) ⇒ <a href="#CardActionTagAttrs"><code>CardActionTagAttrs</code></a></h3> <p><strong>Kind</strong>: static method of <a href="#CardActionTag"><code>CardActionTag</code></a></p> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>node</td> <td><code>HTMLElement</code></td> </tr> </tbody> </table> <p><a name="CardActionsTag"></a></p> <h2>CardActionsTag ⇐ <a href="#Tag"><code>Tag</code></a></h2> <p><strong>Kind</strong>: global typedef<br> <strong>Extends</strong>: <a href="#Tag"><code>Tag</code></a><br> <strong>Properties</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> </tr> </thead> <tbody> <tr> <td>children</td> <td><a href="#CardActionTag"><code>Array.&lt;CardActionTag&gt;</code></a></td> </tr> <tr> <td>attrs</td> <td><code>undefined</code></td> </tr> </tbody> </table> <p><a name="new_CardActionsTag_new"></a></p> <h3>new CardActionsTag(children)</h3> <table> <thead> <tr> <th>Param</th> <th>Type</th> </tr>