qwc/projects/qwc/src/lib/components/qwc-dropdown/qwc-dropdown.component.ts
Render qwc-dropdown button and handle its events.
| selector | qwc-dropdown |
| templateUrl | ./qwc-dropdown.component.html |
Properties |
Methods |
Outputs |
constructor(_elementRef: ElementRef)
|
||||||
|
Parameters :
|
| qwcClick |
Type : EventEmitter
|
| getHostElement |
getHostElement()
|
|
Get host element
Returns :
any
ElementRef |
| hasHostAttributes | ||||||||
hasHostAttributes(...attributes: string[])
|
||||||||
|
Gets whether the button has one of the given attributes.
Parameters :
Returns :
any
string[] |
| ngAfterViewInit |
ngAfterViewInit()
|
|
Component life cycle hook
Returns :
void
void |
| ngOnInit |
ngOnInit()
|
|
Component life cycle hook
Returns :
void
void |
| onClick | ||||||||
onClick(event: Event)
|
||||||||
|
On click
Parameters :
Returns :
void
void |
| elDropdown |
Type : ElementRef
|
Decorators :
@ViewChild('dropdownButton')
|
| instanceDropdownbutton |
Type : M.Dropdown
|
| isDisabled |
Type : boolean
|
| primaryBtnType |
Type : any
|
| qwcId |
Type : String
|