UNPKG

nativescript-angular

Version:

An Angular renderer that lets you build mobile apps with NativeScript.

32 lines (31 loc) 1.03 kB
import { AfterViewInit, ElementRef, OnInit, TemplateRef, ViewContainerRef } from "@angular/core"; import { TabView } from "tns-core-modules/ui/tab-view"; import { TextTransform } from "tns-core-modules/ui/text-base"; export interface TabViewItemDef { title?: string; iconSource?: string; textTransform?: TextTransform; } export declare class TabViewDirective implements AfterViewInit { tabView: TabView; private _selectedIndex; private viewInitialized; selectedIndex: number; constructor(element: ElementRef); ngAfterViewInit(): void; } export declare class TabViewItemDirective implements OnInit { private owner; private templateRef; private viewContainer; private item; private _config; constructor(owner: TabViewDirective, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef); config: TabViewItemDef; title: string; iconSource: string; textTransform: TextTransform; private ensureItem; private applyConfig; ngOnInit(): void; }