src/components/kendoUI/top-level-toolstrip-item/top-level-toolstrip-item.component.ts
providers |
{
provide: ToolBarToolComponent, useExisting: forwardRef(() => TopLevelToolstripItemComponent)
}
|
selector | wm-top-level-toolstrip-item |
styleUrls | ./top-level-toolstrip-item.component.scss |
templateUrl | ./top-level-toolstrip-item.component.html |
Properties |
Methods |
Inputs |
constructor(toolstripService: ToolstripInteractionService)
|
||||||
Parameters :
|
items |
Type : any[]
|
The set of items to be rendered by the custom menu |
ApplyStyle | ||||||||
ApplyStyle(item: any)
|
||||||||
Applies style to item
Parameters :
Returns :
any
style |
clickInternalItem | ||||||
clickInternalItem(event)
|
||||||
Clicks internal item to trigger click event after keyboard interaction
Parameters :
Returns :
void
|
getSeparatorHeight | ||||||
getSeparatorHeight(item: any)
|
||||||
Get the height of separator. Calc is performed to set height to DIV and leave a space between the top and bottom of separator.
Parameters :
Returns :
string
|
isMenuItemType | ||||||||||||
isMenuItemType(item: any, expected: string)
|
||||||||||||
Determines whether menu item type is visible or not
Parameters :
Returns :
boolean
true if the menu item is the expected type |
onSelect | ||||||
onSelect(event: any)
|
||||||
Select event handler
Parameters :
Returns :
void
|
popupTemplate |
Type : TemplateRef<any>
|
Decorators :
@ViewChild('popupTemplate', {static: true})
|
toolbarElement |
Type : ElementRef
|
Decorators :
@ViewChild('toolbarElement', {static: false})
|
toolbarTemplate |
Type : TemplateRef<any>
|
Decorators :
@ViewChild('toolbarTemplate', {static: true})
|
Fields required for the Custom Toolbar Implementation |