File

src/components/kendoUI/top-level-toolstrip-item/top-level-toolstrip-item.component.ts

Extends

ToolBarToolComponent

Metadata

Index

Properties
Methods
Inputs

Constructor

constructor(toolstripService: ToolstripInteractionService)
Parameters :
Name Type Optional
toolstripService ToolstripInteractionService No

Inputs

items
Type : any[]

The set of items to be rendered by the custom menu

Methods

ApplyStyle
ApplyStyle(item: any)

Applies style to item

Parameters :
Name Type Optional Description
item any No

the current menu item

Returns : any

style

clickInternalItem
clickInternalItem(event)

Clicks internal item to trigger click event after keyboard interaction

Parameters :
Name Optional Description
event No

MenuStateEvent from kendo menu component

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 :
Name Type Optional
item any No
Returns : string
isMenuItemType
isMenuItemType(item: any, expected: string)

Determines whether menu item type is visible or not

Parameters :
Name Type Optional Description
item any No

the current item to be displayed

expected string No

the expected mapperId

Returns : boolean

true if the menu item is the expected type

onSelect
onSelect(event: any)

Select event handler

Parameters :
Name Type Optional
event any No
Returns : void

Properties

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

Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""