Class: Page

Page

A page components - UX/COE Compliant

*

DEMO

Constructor

new Page()

Source:

Members

(static) observedAttributes

Set observable values here. When Changed, attributeChangedCallback is invoked
Source:

Methods

(static) test()

FOR TESTING PURPOSES
Source:

_fetchAttributes(backgroundopt, widthopt)

Component attributes are _fetched and defaults are set if undefined
Parameters:
Name Type Attributes Default Description
background string <optional>
#FFF page background
width string <optional>
1280px page width
Source:

_fetchElements()

Stores DOM elements of interest for future use
Source:

_finalize()

SAVE DATA FOR ANALYTICS
Source:

attributeChangedCallback()

Called with .setAttribute(...) function call
Source:

connectedCallback()

This function is called when this is attached to DOM
Source:

destroy()

Destroy the instance object and artifacts
Source:

disconnectedCallback()

Invoked When component is removed. Usually with a .remove() function call
Source: