WPoppableDirective class

Popup Directive. uses popper js underneath to show the pop up. for more details of how to use it, refer to how the options are shown in WSelectComponent for more details about the Input below, check out the popper docs in https://popper.js.org/docs/v2

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

Constructors

WPoppableDirective(Element _el)
constructor

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
placement ↔ String
the placement of the pop up. [...]
@Input('popPlacement'), read / write
popOn ↔ String
Determines how it should show, either on click OR hover. [...]
@Input('popOn'), read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
show bool
@Input('show'), write-only
showChange → Stream<bool>
@Output(), read-only
strategy ↔ String
Describes the positioning strategy to use. [...]
@Input('popStrategy'), read / write

Methods

ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed. [...]
ngOnInit() → void
Executed after the first change detection run for a directive. [...]
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