Class: Header

Header(container, fileName)

Class that create the Header section of the Application

Constructor

Get the Header container element to append the header
Parameters:
Name Type Description
container
fileName String Name/Title of the presentation slide
Source:
Example
new Header(parentElem).init()

Methods

formatElement(e)

A function that handle toolbar related to text alignment and font (i.e text-align,font-size)
Parameters:
Name Type Description
e Event HTML element in which event is triggers
Source:

handleDropdownMenu(e)

A function that handle drop down
Parameters:
Name Type Description
e Event click event
Source:

init()

A function which initilize the Header
Source: