Interface ITagsManager

Index

Properties

Methods

Properties

public backspace: Array<number>

public delimeters: Array<number>

public obj: JQuery

public objName: string

public queuedTag: string

public tagManagerOptions: ITagsManagerOptions

public tagToManipulate: string

Methods

public ajaxPolling(query: string, process: Function)

Parameters

  • query: string
  • process: Function

public empty()

public initialize(context: JQuery, options?: ITagsManagerOptions, tagToManipulate?: string)

Parameters

public onTypeaheadAjaxSuccess(data: any, isSetTypeaheadSource: boolean, process?: Function)

Parameters

  • data: any
  • isSetTypeaheadSource: boolean
  • process?: Function optional

public popTag()

public processCommand(context: JQuery, command: string, tagToManipulate?: string): JQuery

Parameters

  • context: JQuery
  • command: string
  • tagToManipulate?: string optional

Returns

JQuery

public processTags(command?: string, context?: JQuery, tagToManipulate?: string): JQuery

Parameters

  • command?: string optional
  • context?: JQuery optional
  • tagToManipulate?: string optional

Returns

JQuery

public pushTag(tag: string, objToPush: any, isValid: boolean)

Parameters

  • tag: string
  • objToPush: any
  • isValid: boolean

public refreshHiddenTagList()

public setContext(context: JQuery, tagToManipulate?: string)

Parameters

  • context: JQuery
  • tagToManipulate?: string optional

public setOptions(options: ITagsManagerOptions)

Parameters

public setTypeaheadSource(source: any)

Parameters

  • source: any

public setupTypeahead()

public spliceTag(tagId: number, eventData: any)

Parameters

  • tagId: number
  • eventData: any

public trimTag(tag: string): string

Parameters

  • tag: string

Returns

string