Class: Anchor

Anchor(view, anchor, parentClass)

Wrapper for anchor elements

Constructor

new Anchor(view, anchor, parentClass)

The constructor

Parameters:
Name Type Description
view View

The owning view object

anchor HTMLAnchorElement

The html anchor element

parentClass string

The data-class of the parent

Source:

Members

value

Return the current href of this element

Source:

Methods

populate(sender, object)

Populates the element

Parameters:
Name Type Description
sender string

name of sender class

object Object

an object, which must implement uid and the data-property name. If type is menu it must implement property visible and active

Source: