Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _show

_show: boolean

Private autoFocus

autoFocus: boolean

Protected beforeClickEvent

beforeClickEvent: EventEmitter<any>

Protected bypass

bypass: boolean

Protected clickEvent

clickEvent: EventEmitter<any>

Private context

context: IContext

Protected dataParent

dataParent: IHasData

Protected elementRef

elementRef: ElementRef

Private focusTimeout

focusTimeout: any

Protected i18nKey

i18nKey: string

Protected i18nValue

i18nValue: any

Protected items

Private lostFocusTimeout

lostFocusTimeout: any

Protected menu

Protected menuItemHandler

menuItemHandler: Function

Protected model

model: MenuModel

Private nativeElement

nativeElement: any

Protected needFocusService

needFocusService: NeedFocusService

Protected options

options: any

Static TYPE_NAME

TYPE_NAME: string = TYPE_NAME

Methods

_doFocus

  • _doFocus($event: Event): void
  • Parameters

    • $event: Event

    Returns void

_doLostFocus

  • _doLostFocus($event: Event): void
  • Parameters

    • $event: Event

    Returns void

Protected addMenuItem

applyI18N

  • applyI18N(value: any): void

doRenderMenu

  • doRenderMenu(): void

emitActionPerform

  • emitActionPerform($event?: any): void

Protected emitBeforeClickEvent

  • emitBeforeClickEvent($event?: any): void

Protected emitClickEvent

  • emitClickEvent($event?: any): void

getBeforeClickEvent

  • getBeforeClickEvent(): EventEmitter<any>

getClickEvent

  • getClickEvent(): EventEmitter<any>

getContext

getDataParent

getI18NKey

  • getI18NKey(): string

getI18NValue

  • getI18NValue(): any

getItems

getMenu

getMenuItemHandler

  • getMenuItemHandler(): Function

getModel

getOptions

  • getOptions(): any

hide

  • hide(): void
  • Returns void

Private init

  • init(): void
  • Returns void

isAutoFocus

  • isAutoFocus(): boolean
  • Returns boolean

isBypassKey

  • isBypassKey(): boolean

isShow

  • isShow(): boolean
  • Returns boolean

ngOnInit

  • ngOnInit(): void
  • Returns void

onClick

  • onClick($event: MouseEvent, fireEvent?: boolean): void
  • Parameters

    • $event: MouseEvent
    • Optional fireEvent: boolean

    Returns void

onFocus

  • onFocus(event: any): void
  • Parameters

    • event: any

    Returns void

onItemClick

  • onItemClick($event: Event): void
  • Parameters

    • $event: Event

    Returns void

onLostFocus

  • onLostFocus(event: any): void
  • Parameters

    • event: any

    Returns void

renderMenu

  • renderMenu(): void

setAutoFocus

  • setAutoFocus(autoFocus: boolean): void
  • Parameters

    • autoFocus: boolean

    Returns void

setBeforeClickEvent

  • setBeforeClickEvent(event: EventEmitter<any>): void

setBypassKey

  • setBypassKey(bypass: boolean): void

setClickEvent

  • setClickEvent(event: EventEmitter<any>): void

setContext

setDataParent

  • setDataParent(dataParent: IHasData): void

setI18NKey

  • setI18NKey(i18nKey: string): void

setMenu

  • Set a parent menu associated with this menu item.

    Parameters

    Returns void

setModel

setOptions

  • setOptions(options: any): void

showAt

  • showAt(positionX: number, positionY: number, width?: number): void
  • Parameters

    • positionX: number
    • positionY: number
    • Optional width: number

    Returns void

Private showMenu

  • showMenu(isShow: boolean, widthSet?: number): void
  • Parameters

    • isShow: boolean
    • Optional widthSet: number

    Returns void

Generated using TypeDoc