src/lib/pg-components/tabs/tabs-nav.component.ts
AfterContentChecked
AfterContentInit
encapsulation | ViewEncapsulation.None |
selector | mefdev-tabs-nav |
templateUrl | ./tabs-nav.component.html |
Properties |
Methods |
Inputs |
Accessors |
constructor(_elementRef: ElementRef, _ngZone: NgZone, _renderer: Renderer2, _dir: Directionality)
|
|||||||||||||||
Parameters :
|
Animated |
Type : boolean
|
HideBar |
Type : boolean
|
Position |
Type : string
|
PositionMode |
Type : TabPositionMode
|
selectedIndex |
Type : number
|
ShowPagination |
Type : boolean
|
Size |
Type : string
|
Default value : 'default'
|
Type |
Type : string
|
_alignInkBarToSelectedTab |
_alignInkBarToSelectedTab()
|
Returns :
void
|
_checkPaginationEnabled |
_checkPaginationEnabled()
|
Returns :
void
|
_checkScrollingControls |
_checkScrollingControls()
|
Returns :
void
|
_getLayoutDirection |
_getLayoutDirection()
|
Returns :
Direction
|
_getMaxScrollDistance |
_getMaxScrollDistance()
|
Determines what is the maximum length in pixels that can be set for the scroll distance. This is equal to the difference in width between the tab list container and tab header container. This is an expensive call that forces a layout reflow to compute box and scroll metrics and should be called sparingly.
Returns :
number
|
_onContentChanges |
_onContentChanges()
|
Returns :
void
|
_scrollHeader | ||||||
_scrollHeader(scrollDir: ScrollDirection)
|
||||||
Parameters :
Returns :
void
|
_scrollToLabel | ||||||
_scrollToLabel(labelIndex: number)
|
||||||
Parameters :
Returns :
void
|
_updatePagination |
_updatePagination()
|
Returns :
void
|
_updateTabScrollPosition |
_updateTabScrollPosition()
|
Returns :
void
|
_disableScrollAfter |
Default value : true
|
_disableScrollBefore |
Default value : true
|
Public _elementRef |
Type : ElementRef
|
_inkBar |
Type : MefDevTabsInkBarDirective
|
Decorators :
@ViewChild(MefDevTabsInkBarDirective, {static: true})
|
_labelWrappers |
Type : QueryList<MefDevTabLabelDirective>
|
Decorators :
@ContentChildren(MefDevTabLabelDirective)
|
_realignInkBar |
Type : Subscription | null
|
Default value : null
|
_scrollDistance |
Type : number
|
Default value : 0
|
_scrollDistanceChanged |
Type : boolean
|
_selectedIndex |
Type : number
|
Default value : 0
|
_selectedIndexChanged |
Default value : false
|
_showPaginationControls |
Default value : false
|
_tabBarExtraContent |
Type : TemplateRef<void>
|
Decorators :
@ContentChild('tabBarExtraContent', {static: true})
|
_tabLabelCount |
Type : number
|
_tabList |
Type : ElementRef
|
Decorators :
@ViewChild('tabList', {static: true})
|
_tabListContainer |
Type : ElementRef
|
Decorators :
@ViewChild('tabListContainer', {static: true})
|
_tabPosition |
Type : string
|
Default value : 'top'
|
_tabPositionMode |
Type : TabPositionMode
|
Default value : 'horizontal'
|
_type |
Type : string
|
Default value : 'line'
|
Animated | ||||||
getAnimated()
|
||||||
setAnimated(value: boolean)
|
||||||
Parameters :
Returns :
void
|
Position | ||||||
getPosition()
|
||||||
setPosition(value: string)
|
||||||
Parameters :
Returns :
void
|
HideBar | ||||||
getHideBar()
|
||||||
setHideBar(value: boolean)
|
||||||
Parameters :
Returns :
void
|
Type | ||||||
getType()
|
||||||
setType(value: string)
|
||||||
Parameters :
Returns :
void
|
ShowPagination | ||||||
getShowPagination()
|
||||||
setShowPagination(value: boolean)
|
||||||
Parameters :
Returns :
void
|
PositionMode | ||||||
getPositionMode()
|
||||||
setPositionMode(value: TabPositionMode)
|
||||||
Parameters :
Returns :
void
|
selectedIndex | ||||||
getselectedIndex()
|
||||||
setselectedIndex(value: number)
|
||||||
Parameters :
Returns :
void
|
scrollDistance | ||||||
getscrollDistance()
|
||||||
setscrollDistance(v: number)
|
||||||
Sets the distance in pixels that the tab header should be transformed in the X-axis.
Parameters :
Returns :
void
|
viewWidthHeightPix |
getviewWidthHeightPix()
|
tabListScrollWidthHeightPix |
gettabListScrollWidthHeightPix()
|
elementRefOffSetWidthHeight |
getelementRefOffSetWidthHeight()
|