Skip to main content

BootstrapToolbar Class

Declaration

class BootstrapToolbar extends BootstrapMenu

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Inheritance

Control
BootstrapMenu
BootstrapToolbar

Methods

off<K> Method

Declaration

off<K extends keyof BootstrapToolbarEventMap>(
    eventName?: K,
    callback?: (this: BootstrapToolbar,
    args?: BootstrapToolbarEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapToolbar, args?: BootstrapToolbarEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

on<K extends keyof BootstrapToolbarEventMap>(
    eventName: K,
    callback: (this: BootstrapToolbar,
    args?: BootstrapToolbarEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapToolbar, args?: BootstrapToolbarEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

once<K extends keyof BootstrapToolbarEventMap>(
    eventName: K,
    callback: (this: BootstrapToolbar,
    args?: BootstrapToolbarEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapToolbar, args?: BootstrapToolbarEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this