Class Menu

Index

Methods

Methods

public addMenuItem(text: string, actionScriptText: string, imageSourceUrl: string, imageAlternateText: string, sequenceNumber: number, description: string, id: string): HTMLElement

Parameters

  • text: string
  • actionScriptText: string
  • imageSourceUrl: string
  • imageAlternateText: string
  • sequenceNumber: number
  • description: string
  • id: string

Returns

HTMLElement

public addSeparator()

public addSubMenu(text: string, imageSourceUrl: string, imageAlternateText: string, sequenceNumber: number, description: string, id: string): Menu

Parameters

  • text: string
  • imageSourceUrl: string
  • imageAlternateText: string
  • sequenceNumber: number
  • description: string
  • id: string

Returns

Menu

public static create(id: string): Menu

Parameters

  • id: string

Returns

Menu

public hideIcons()

public show(relativeElement: HTMLElement, forceRefresh: boolean, flipTopLevelMenu: boolean, yOffset: number)

Parameters

  • relativeElement: HTMLElement
  • forceRefresh: boolean
  • flipTopLevelMenu: boolean
  • yOffset: number

public showFilterMenu(relativeElement: HTMLElement, forceRefresh: boolean, flipTopLevelMenu: boolean, yOffset: number, fShowClose: boolean, fShowCheckBoxes: boolean)

Parameters

  • relativeElement: HTMLElement
  • forceRefresh: boolean
  • flipTopLevelMenu: boolean
  • yOffset: number
  • fShowClose: boolean
  • fShowCheckBoxes: boolean

public showIcons()