File

src/components/kendoUI/baseComponents/controlComponent/tab.directive.ts

Implements

AfterViewChecked AfterViewInit OnDestroy DoCheck

Metadata

Index

Properties
Methods
Inputs
HostListeners
Accessors

Constructor

constructor(tabOrderService?: MainTabOrderService, containerTabOrderService?: ContainerTabOrderService, webComponentsService?: WebComponentsService, loadingStateService?: LoadingStateService)
Parameters :
Name Type Optional
tabOrderService MainTabOrderService Yes
containerTabOrderService ContainerTabOrderService Yes
webComponentsService WebComponentsService Yes
loadingStateService LoadingStateService Yes

Inputs

hostComponent
Type : any

HostListeners

keydown.shift.tab
Arguments : '$event'
keydown.tab
Arguments : '$event'

Methods

isLoadingHidden
isLoadingHidden()

Verifies if the loading component is hidden using the loadingState service.

Returns : boolean

{boolean}

ngAfterViewChecked
ngAfterViewChecked()

after view checked

Returns : void
ngAfterViewInit
ngAfterViewInit()

Register the component in the currentTabService

Returns : void
ngDoCheck
ngDoCheck()

do check Verifies changes in tabIndex

Returns : void
ngOnDestroy
ngOnDestroy()

Unregister the current component from the tabOrderService

Returns : void
registerComponent
registerComponent()
Returns : void
Private registerLeaveContainer
registerLeaveContainer(parentService: any)

Register current component instance in ContainerTabOrderService

Parameters :
Name Type Optional
parentService any No
Returns : void
Private registerTabService
registerTabService(containerTabService: any)
Parameters :
Name Type Optional
containerTabService any No
Returns : void
Private registerWmUserContrl
registerWmUserContrl(parent: any)
Parameters :
Name Type Optional
parent any No
Returns : boolean
reverseTab
reverseTab(e: any)
Decorators :
@HostListener('keydown.shift.tab', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
tabHandler
tabHandler(e: any)
Decorators :
@HostListener('keydown.tab', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
Private tabIndexUpdate
tabIndexUpdate()

Tabs index update

Returns : void
Protected tabKeyHandler
tabKeyHandler(event: any)

Tab key handler to manage tab behavior. MainTabOrder service determines which action should be performed after a tab key event.

Parameters :
Name Type Optional Description
event any No

TabKey event.

Returns : void

Properties

currentTabService
Type : any

Current tab service Reference to the current tab order service

Accessors

component
getcomponent()

results matching ""

    No results matching ""