ActionsDropdown

HTML utility class for building a dropdown menu

abstract
since

3.2

package

Application

Methods

addCustomItem

Append a custom item to current dropdown menu.

addCustomItem(string label, string icon = '', string id = '', string task = '') : void
static
since

3.2

Arguments

label

stringThe label of the item.

icon

stringThe icon classname.

id

stringThe item id.

task

stringThe task.

archive

Append an archive item to the current dropdown menu

archive(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

divider

Writes a divider between dropdown items

divider() : void
static
since

3.0

duplicate

Append a duplicate item to the current dropdown menu

duplicate(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

feature

Append a feature item to the current dropdown menu

feature(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

publish

Append a publish item to the current dropdown menu

publish(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

render

Method to render current dropdown menu

render(string item = '') : string
static
since

3.2

Arguments

item

stringAn item to render.

Response

stringHTML markup for the dropdown list

trash

Append a trash item to the current dropdown menu

trash(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

unarchive

Append an unarchive item to the current dropdown menu

unarchive(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

unfeature

Append an unfeature item to the current dropdown menu

unfeature(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

unpublish

Append an unpublish item to the current dropdown menu

unpublish(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

untrash

Append an untrash item to the current dropdown menu

untrash(string id, string prefix = '') : void
static
since

3.2

Arguments

id

stringID of corresponding checkbox of the record

prefix

stringThe task prefix

Properties

dropDownList

HTML markup for the dropdown list

static
since

3.2

Type(s)

string