/* Copyright © 2016-2019 Lidor Systems. All rights reserved. This file is part of the "IntegralUI Web" Library. The contents of this file are subject to the IntegralUI Web License, and may not be used except in compliance with the License. A copy of the License should have been installed in the product's root installation directory or it can be found at http://www.lidorsystems.com/products/web/studio/license-agreement.aspx. This SOFTWARE is provided "AS IS", WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. Any infringement will be prosecuted under applicable laws. */ import { Component, ViewContainerRef, ViewChild, ViewChildren, ViewEncapsulation } from '@angular/core'; import { IntegralUICheckState, IntegralUIDateFormat, IntegralUIIncrementMode, IntegralUIToolItemType, IntegralUIWeekDays } from '../../integralui/components/integralui.core'; @Component({ selector: '', template: `
IntegralUI Toolbar is a native Angular component that displays a collection of different editor types in one line. Each editor is fully customizable via CSS. It allows you to quickly arrange multiple editors horizontally.
The following tool item types are available:
In this example, there are two toolbars, with different set of tool items. Some of these editors have custom settings, which override the default behavior and appearance. The toolbar size is automatically adjusted, based on the tool items that it contains. Currently only horizontal toolbar is available.
Whenever an action takes place (editor changes its value or is clicked), a correspoinding event is fired which you can handle in your code.
For more information check out the source code of this sample (toolbar/toolbar-overview.ts) file.