Class: DataTypeMenuWrapper

DataTypeMenuWrapper(view, root, parentClass, factory)

This is a class to wrap anchor element with data-type menu

Constructor

new DataTypeMenuWrapper(view, root, parentClass, factory)

The constructor

Parameters:
Name Type Description
view View

The view class

root DocumentFragment

This view html fragment

parentClass string

Class name from parent element

factory ElementFactory

The factory for creating elements

Source:

Methods

populate(sender, root)

Populate the elements

Parameters:
Name Type Description
sender string

The name of the sender

root Object

An object with method getByUid which returns and object

Source: