File

src/directives/container.directive.ts

Extends

ControlsDirective

Metadata

Index

Properties
Methods
Inputs
HostBindings
HostListeners

Constructor

constructor(elRef: ElementRef, vRef: ViewContainerRef, focusManagerServ?: FocusManagerService, tabOrderServ?: MainTabOrderService, containerTabOrderServ?: ContainerTabOrderService, webComponentsServ?: WebComponentsService, ajaxInteractionBServ?: AjaxInteractionBaseService, wmWindowServ?: WMWindowService, loadingStatService?: LoadingStateService)
Parameters :
Name Type Optional
elRef ElementRef No
vRef ViewContainerRef No
focusManagerServ FocusManagerService Yes
tabOrderServ MainTabOrderService Yes
containerTabOrderServ ContainerTabOrderService Yes
webComponentsServ WebComponentsService Yes
ajaxInteractionBServ AjaxInteractionBaseService Yes
wmWindowServ WMWindowService Yes
loadingStatService LoadingStateService Yes

Inputs

hostComponent
Type : any

HostBindings

style.display
Type : any
title
Type : any

HostListeners

focusin
Arguments : '$event'
blur
Arguments : '$event'
change
Arguments : '$event'
click
Arguments : '$event'
contextmenu
Arguments : '$event'
focus
Arguments : '$event'
keydown
Arguments : '$event'
keypress
Arguments : '$event'
keyup
Arguments : '$event'
mouseenter
Arguments : '$event'
mouseleave
Arguments : '$event'
mousemove
Arguments : '$event'
keydown.shift.tab
Arguments : '$event'
keydown.tab
Arguments : '$event'

Methods

focusIn
focusIn(e: any)
Decorators :
@HostListener('focusin', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
tabKeyHandler
tabKeyHandler(event: any)

Method to handle the tab navigation on the container marked with this directive

Parameters :
Name Type Optional
event any No
Returns : void
blur
blur(e: any)
Decorators :
@HostListener('blur', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
Private callAttr
callAttr(attrName: string)
Parameters :
Name Type Optional
attrName string No
Returns : any
Private callEvent
callEvent(eventName: string, e: any)
Parameters :
Name Type Optional
eventName string No
e any No
Returns : void
contextMenu
contextMenu(e: any)
Decorators :
@HostListener('contextmenu', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
focus
focus(e: any)
Decorators :
@HostListener('focus', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
keyDown
keyDown(e: any)
Decorators :
@HostListener('keydown', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
keyPress
keyPress(e: any)
Decorators :
@HostListener('keypress', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
keyUp
keyUp(e: any)
Decorators :
@HostListener('keyup', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
mouseLeave
mouseLeave(e: any)
Decorators :
@HostListener('mouseleave', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
mouseMove
mouseMove(e: any)
Decorators :
@HostListener('mousemove', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
mouseOver
mouseOver(e: any)
Decorators :
@HostListener('mouseenter', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
ngAfterViewInit
ngAfterViewInit()

The AfterViewInit

Returns : void
ngOnDestroy
ngOnDestroy()

The ngOnDestroy method

Returns : void
notifyWindowBringTop
notifyWindowBringTop(e: any)
Decorators :
@HostListener('click', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
textChanged
textChanged(e: any)
Decorators :
@HostListener('change', ['$event'])
Parameters :
Name Type Optional
e any No
Returns : void
isLoadingHidden
isLoadingHidden()

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

Returns : boolean

{boolean}

ngAfterViewChecked
ngAfterViewChecked()

after view checked

Returns : void
ngDoCheck
ngDoCheck()

do check Verifies changes in tabIndex

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

Properties

customColumnOnGridClosed
Default value : false

This is to know if a controls is inside any grid that provides the GridCustomEditorInteractionService and the edition of the cell is being closed

customColumnOnGridSubscription
Type : Subscription

This is a subscription to the GridCustomEditorInteractionService to the close event of any grid that provides the service

currentTabService
Type : any

Current tab service Reference to the current tab order service

results matching ""

    No results matching ""