Options
All
  • Public
  • Public/Protected
  • All
Menu

Menu provides a DOM container for rendering a dropdown style menu.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

  • children is an array of content passed to this Component.

    Parameters

    Returns Menu

Properties

attrs

children

children: Content[]

hide

hide: hidden.Hide<Menu> = hidden.hide(this)(get(this))

isHidden

isHidden: hidden.IsHidden = hidden.isHidden(get(this))

show

show: hidden.Show<Menu> = hidden.show(this)(get(this))

toggle

toggle: hidden.Toggle<Menu> = hidden.toggle(this)(get(this))

view

view: View = new Main(this)

Methods

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

setContent

  • setContent(view: View): Menu

Object literals

values

values: object

content

  • content(): (Node | Element | HTMLElement)[]

menu

menu: object

id

id: string = "menu"

root

root: object

root level values.

class

class: string = concat(MENU, (this.attrs.ww && this.attrs.ww.class) ?this.attrs.ww.class : '', (this.attrs.ww && this.attrs.ww.hidden) ?hidden.HIDDEN : '')

id

id: string = "root"

Generated using TypeDoc