Options
All
  • Public
  • Public/Protected
  • All
Menu

Stack displays a list of items that can be modified by releasing one or more at a time.

Type parameters

  • V

Hierarchy

Implements

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

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

    Parameters

    Returns Stack

Properties

attrs

children

children: Content[]

view

view: View = new views.Main(this)

Methods

push

  • push(value: V): Stack<V>

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

Object literals

values

values: object

close

close: object

class

class: string = STACK_CLOSE_BUTTON

element

element: object

class

class: string = STACK_ELEMENT

decorator

decorator: function = this.attrs.ww.decorator ? this.attrs.ww.decorator : (v: V) => String(v)

Type declaration

    • (v: V): string
    • Parameters

      • v: V

      Returns string

close

  • close(index: number | string): (Anonymous function)

template

  • template(): any

content

content: object

class

class: string = STACK_ELEMENT_CONTENT

root

root: object

class

class: string = concat(STACK, this.attrs.ww.class)

id

id: string = "stack"

value

value: V[] = this.attrs.ww.value ? this.attrs.ww.value : []

fire

  • fire(): void

Generated using TypeDoc