Skip to main content
Version: 0.9.0-beta.2

Class: SearchModel

molecule.model.SearchModel

Implements

Constructors

constructor

new SearchModel(headerToolBar?, searchAddons?, replaceAddons?, result?, value?, replaceValue?, replaceMode?, isCaseSensitive?, isWholeWords?, isRegex?, preserveCase?, validationInfo?)

Parameters

NameTypeDefault value
headerToolBarIActionBarItemProps<any>[][]
searchAddonsIActionBarItemProps<any>[][]
replaceAddonsIActionBarItemProps<any>[][]
resultnever[][]
valuestring''
replaceValuestring''
replaceModebooleanfalse
isCaseSensitivebooleanfalse
isWholeWordsbooleanfalse
isRegexbooleanfalse
preserveCasebooleanfalse
validationInfoObjectundefined
validationInfo.textstringundefined
validationInfo.type"warning" | "info" | "error"undefined

Defined in

src/model/workbench/search.tsx:44

Properties

headerToolBar

headerToolBar: IActionBarItemProps<any>[]

Implementation of

ISearchProps.headerToolBar

Defined in

src/model/workbench/search.tsx:28


isCaseSensitive

isCaseSensitive: boolean = false

Implementation of

ISearchProps.isCaseSensitive

Defined in

src/model/workbench/search.tsx:36


isRegex

isRegex: boolean = false

Implementation of

ISearchProps.isRegex

Defined in

src/model/workbench/search.tsx:35


isWholeWords

isWholeWords: boolean = false

Implementation of

ISearchProps.isWholeWords

Defined in

src/model/workbench/search.tsx:37


preserveCase

preserveCase: boolean = false

Implementation of

ISearchProps.preserveCase

Defined in

src/model/workbench/search.tsx:38


replaceAddons

replaceAddons: IActionBarItemProps<any>[]

Implementation of

ISearchProps.replaceAddons

Defined in

src/model/workbench/search.tsx:30


replaceMode

replaceMode: boolean = false

Implementation of

ISearchProps.replaceMode

Defined in

src/model/workbench/search.tsx:34


replaceValue

replaceValue: string = ''

Implementation of

ISearchProps.replaceValue

Defined in

src/model/workbench/search.tsx:33


result

result: ITreeNodeItemProps<any>[] = []

Implementation of

ISearchProps.result

Defined in

src/model/workbench/search.tsx:31


searchAddons

searchAddons: IActionBarItemProps<any>[]

Implementation of

ISearchProps.searchAddons

Defined in

src/model/workbench/search.tsx:29


validationInfo

validationInfo: Object

Type declaration

NameType
textstring
type"warning" | "info" | "error"

Implementation of

ISearchProps.validationInfo

Defined in

src/model/workbench/search.tsx:39


value

value: string = ''

Implementation of

ISearchProps.value

Defined in

src/model/workbench/search.tsx:32