Skip to main content

Class: SearchModel

model.SearchModel

Implements

Table of contents

Constructors

Properties

Constructors

constructor

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

Parameters

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

Returns

SearchModel

Defined in

src/model/workbench/search.tsx:55

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:44


isRegex

isRegex: boolean = false

Implementation of

ISearchProps.isRegex

Defined in

src/model/workbench/search.tsx:42


isWholeWords

isWholeWords: boolean = false

Implementation of

ISearchProps.isWholeWords

Defined in

src/model/workbench/search.tsx:46


preserveCase

preserveCase: boolean = false

Implementation of

ISearchProps.preserveCase

Defined in

src/model/workbench/search.tsx:48


replaceAddons

replaceAddons: IActionBarItemProps\<any>[]

Implementation of

ISearchProps.replaceAddons

Defined in

src/model/workbench/search.tsx:32


replaceMode

replaceMode: boolean = false

Implementation of

ISearchProps.replaceMode

Defined in

src/model/workbench/search.tsx:40


replaceValue

replaceValue: string = ''

Implementation of

ISearchProps.replaceValue

Defined in

src/model/workbench/search.tsx:38


result

result: ITreeNodeItemProps\<any>[] = []

Implementation of

ISearchProps.result

Defined in

src/model/workbench/search.tsx:34


searchAddons

searchAddons: IActionBarItemProps\<any>[]

Implementation of

ISearchProps.searchAddons

Defined in

src/model/workbench/search.tsx:30


validationInfo

validationInfo: Object

Type declaration

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

Implementation of

ISearchProps.validationInfo

Defined in

src/model/workbench/search.tsx:50


value

value: string = ''

Implementation of

ISearchProps.value

Defined in

src/model/workbench/search.tsx:36