Interface for a class Toolbar
The event will be fired before the control is rendered on a page.
The event will be fired on clicking the Toolbar elements.
EmitType<Event>
The event will be fired when the control is rendered.
EmitType<Event>
The event will be fired when the control gets destroyed.
boolean
When this property is set to true, it allows the keyboard interaction in toolbar.
string
Sets the CSS classes to root element of the Tab that helps to customize component styles.
boolean
Enable or disable the popup collision.
boolean
Defines whether to allow the cross-scripting site or not.
boolean
Enable or disable persisting component’s state between page reloads.
boolean
Enable or disable rendering component in right to left direction.
string
| number
Specifies the height of the Toolbar in pixels/number/percentage. Number value is considered as pixels.
An array of items that is used to configure Toolbar commands.
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Specifies the Toolbar display mode when Toolbar content exceeds the viewing area. The possible values for this property as follows
number
Specifies the scrolling distance in scroller.
<div id="Toolbar"> </div>
import { Toolbar } from '@syncfusion/ej2-navigations';
let toolbarObj: Toolbar = new Toolbar({
items: [
{
prefixIcon: 'e-cut-icon', tooltipText: 'Cut'
},
{
prefixIcon: 'e-copy-icon', tooltipText: 'Copy'
},
{
prefixIcon: 'e-paste-icon', tooltipText: 'Paste'
}],
scrollStep:100
});
toolbarObj.appendTo('#ej2Toolbar');
string
| number
Specifies the width of the Toolbar in pixels/numbers/percentage. Number value is considered as pixels.