WCollapsibleDirective class

Directive that has 2 states i.e. open and closed

Can be used to build Accordion, Collapsible Menu (just like how we used it for building the nested list w-list), etc.

Annotations
  • @Directive(selector: '[wCollapsible]')

Constructors

WCollapsibleDirective(Element _el)

Properties

collapsible ↔ Element
@ContentChild('collapsibleItem'), read / write
disabled ↔ bool
@Input('disabled'), read / write
expanded bool
@Input(), write-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

ngAfterContentInit() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited