Lawtext core references / core/src/node/el/controls/declaration / ____Declaration
Class: ____Declaration
Defined in: core/src/node/el/controls/declaration.ts:27
EL: a simplified XML DOM functionality that implements JsonEL interface.
Extends
Constructors
Constructor
new ____Declaration(
options):____Declaration
Defined in: core/src/node/el/controls/declaration.ts:77
Parameters
options
Returns
____Declaration
Overrides
Properties
attr
attr:
object
Defined in: core/src/node/el/controls/declaration.ts:30
The attributes of the element
declarationID
declarationID:
string
name
name:
string
nameSentenceTextRange
nameSentenceTextRange:
string
scope
scope:
string
type
type:
string
value?
optionalvalue:string
Overrides
children
Defined in: core/src/node/el/controls/declaration.ts:38
The children of the element
Overrides
id
id:
number
Defined in: core/src/node/el/index.ts:14
Inherited from
range
range: [
number,number] |null
Defined in: core/src/node/el/index.ts:15
Inherited from
tag
tag:
"____Declaration"
Defined in: core/src/node/el/controls/declaration.ts:28
The tag name of the element
Overrides
Accessors
isControl
Get Signature
get isControl():
true
Defined in: core/src/node/el/controls/declaration.ts:29
Returns
true
Overrides
nameSentenceTextRange
Get Signature
get nameSentenceTextRange():
SentenceTextRange
Defined in: core/src/node/el/controls/declaration.ts:63
Returns
Set Signature
set nameSentenceTextRange(
value):void
Defined in: core/src/node/el/controls/declaration.ts:72
Parameters
value
Returns
void
scope
Get Signature
get scope():
SentenceTextRange[]
Defined in: core/src/node/el/controls/declaration.ts:52
Returns
value
Get Signature
get value():
DeclarationValue|null
Defined in: core/src/node/el/controls/declaration.ts:41
Returns
DeclarationValue | null
Methods
copy()
copy(
deep,copyID):EL
Defined in: core/src/node/el/index.ts:40
Parameters
deep
boolean = true
copyID
boolean = false
Returns
Inherited from
innerXML()
innerXML(
withControlEl):string
Defined in: core/src/node/el/index.ts:109
Parameters
withControlEl
boolean = false
Returns
string
Inherited from
json()
json(
withControlEl,withProperties):JsonEL
Defined in: core/src/node/el/index.ts:56
Parameters
withControlEl
boolean = false
withProperties
boolean = false
Returns
Inherited from
outerXML()
outerXML(
withControlEl):string
Defined in: core/src/node/el/index.ts:105
Parameters
withControlEl
boolean = false
Returns
string
Inherited from
text()
text():
string
Defined in: core/src/node/el/index.ts:95
Returns
string
Inherited from
wrapXML()
wrapXML(
inner):string
Defined in: core/src/node/el/index.ts:101
Parameters
inner
string
Returns
string