Home Reference Source
import OpSelect from './ui/dialogs/opselect.js'
public class | source

OpSelect

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

displayBoxIndex: number

public

firstTime: boolean

public

itemHeight: number

public

tree: *

Private Members
private

_bg: *

private
private

_currentInfo: string

private
private
private
private
private
private
private
private

_html: *

private
private
private
private
private
private
private
private

_searching: boolean

private

Method Summary

Public Methods
public

addOp(opname: *, reopenModal: boolean, itemType: string)

public

addPatchOp(name: *, reopenModal: *)

public

addSelectedOp(reopenModal: *)

public

close()

public

getListItemByOpName(opName: *): *

public

isMathQuery(): boolean

public

isOpen(): *

public

keyDown(e: *): boolean

public

loadCollection(name: *, type: *)

public

navigate(diff: *)

public

onInput(e: *)

public
public

reload()

public

search()

public

searchFor(what: *)

public

selectOp(name: *)

public

show(options: *, linkOp: *, linkPort: *, link: *)

public
public
Private Methods
private

_getMathPortType(): string

private

_getQuery(): *

private
private

Public Constructors

public constructor() source

Public Members

public displayBoxIndex: number source

public firstTime: boolean source

public itemHeight: number source

public tree: * source

Private Members

private _bg: * source

private _boundKeydown: * source

private _currentInfo: string source

private _eleNoResults: * source

private _eleOpsearchmodal: * source

private _eleSearchinfo: * source

private _eleTypeMore: * source

private _eleTypeStart: * source

private _enterPressedEarly: boolean source

private _hideUserOps: * source

private _html: * source

private _keyTimeout: * source

private _lastScrollTop: * source

private _minimal: * source

private _newOpOptions: {} source

private _opSearch: * source

private _options: * source

private _searchInputEle: * source

private _searching: boolean source

private _typedSinceOpening: boolean source

Public Methods

public addOp(opname: *, reopenModal: boolean, itemType: string) source

Params:

NameTypeAttributeDescription
opname *
reopenModal boolean
  • optional
  • default: false
itemType string
  • optional
  • default: op

public addPatchOp(name: *, reopenModal: *) source

Params:

NameTypeAttributeDescription
name *
reopenModal *

public addSelectedOp(reopenModal: *) source

Params:

NameTypeAttributeDescription
reopenModal *

public close() source

public getListItemByOpName(opName: *): * source

Params:

NameTypeAttributeDescription
opName *

Return:

*

public isMathQuery(): boolean source

Return:

boolean

public isOpen(): * source

Return:

*

public keyDown(e: *): boolean source

Params:

NameTypeAttributeDescription
e *

Return:

boolean

public loadCollection(name: *, type: *) source

Params:

NameTypeAttributeDescription
name *
type *

public navigate(diff: *) source

Params:

NameTypeAttributeDescription
diff *

public onInput(e: *) source

Params:

NameTypeAttributeDescription
e *

public prepare() source

public reload() source

public searchFor(what: *) source

Params:

NameTypeAttributeDescription
what *

public selectOp(name: *) source

Params:

NameTypeAttributeDescription
name *

public show(options: *, linkOp: *, linkPort: *, link: *) source

Params:

NameTypeAttributeDescription
options *
linkOp *
linkPort *
link *

public updateInfo() source

public updateStatusBar() source

Private Methods

private _getMathPortType(): string source

Return:

string

private _getQuery(): * source

Return:

*

private _onClickAddButton(evt: *) source

Params:

NameTypeAttributeDescription
evt *

private _showSuggestionsInfo() source