MOLECULAR COMPONENTS

Html_element

CLASS

Overview

The Html_element class is pretty much the penultimate core Molecular Components data class and file.

Basically, this class is used as a static starting point for inheritable HTML5 attributes that are valid on any and all HTML5 tags!

                                
                                    // ./js/modules/html_elememts/data/Html_element.js
                                    
                                    class Html_element {
                                        
                                        constructor () {
                                            
                                            this._defaults = {
                                                attributes : {
                                                    accesskey : null,
                                                    autocapitalize : null,
                                                    class : null,
                                                    contenteditable : null,
                                                    dir : null,
                                                    draggable : null,
                                                    exportparts : null,
                                                    hidden : null,
                                                    id : null,
                                                    inputmode : null,
                                                    is : null,
                                                    itemid : null,
                                                    itemprop : null,
                                                    itemref : null,
                                                    itemscope : null,
                                                    itemtype : null,
                                                    lang : null,
                                                    part : null,
                                                    slot : null,
                                                    spellcheck : null,
                                                    style : null,
                                                    tabindex : null,
                                                    title : null,
                                                    translate : null
                                                },
                                                text : null
                                            };
                                        }
                                        
                                    }