/* 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 { IntegralUIAnimationType, IntegralUITabScrollMode, IntegralUITabStripPlacement } from '../../integralui/components/integralui.core'; @Component({ selector: '', template: `
IntegralUI TabStrip is a native Angular component that allows you to create tabbed content using tabs placed in different orientations.
The demo above shows few tabs each with a header and a content panel. You can choose where tabs are placed: top, right, bottom or left side
You can also choose whether scrolling is enabled or not. There are three modes:
When you have many tabs that cannot appear in the TabStrip space all at the same time, it is best to enable scrolling. By default, scrolling is disabled.
To reorder tabs, you can use drag drop. Just select a tab and drag it over other tabs. An empty space will appear showing the target position.
For more information check out the source code of this sample (tabstrip/tabstrip-overview.ts) file, or read the following article: