Home Reference Source
import SelectDialogViewController from '~/controllers/SelectDialogViewController.js'
public class | source

SelectDialogViewController

Extends:

ViewControllerPopoverViewController → SelectDialogViewController

Manages a select dialog drop-down

Constructor Summary

Public Constructor
public

Creates a select-dialog from an HTML template.

Member Summary

Public Members
public

An action delegate.

Method Summary

Public Methods
public

Inherited Summary

From class ViewController
public static

forClass(className: string, predicate: Function, root: HTMLElement)

Creates a view controller directly for all members of a class.

public static

of(elem: string | Element): ViewController

Returns a canolical VC of an element if it exists

From class PopoverViewController
public

State is true when opening.

public

bindTrigger(trigger: string | HTMLElement)

Adds a new trigger node.

public

bindUntrigger(untrigger: string | HTMLElement)

Binds an untrigger node.

public

Sets into an active state

public

Sets into inactive state.

Public Constructors

public constructor(button: Template) source

Creates a select-dialog from an HTML template.

Override:

PopoverViewController#constructor

Params:

NameTypeAttributeDescription
button Template

Template of a .select-dialog

Public Members

public delegate: ActionControllerDelegate source

An action delegate.

Override:

PopoverViewController#delegate

Public Methods

public setState() source