Lawtext core references • Docs
Lawtext core references / core/src/node/el/controls/parentheses / __Parentheses
Class: __Parentheses
EL: a simplified XML DOM functionality that implements JsonEL interface.
Extends
Constructors
new __Parentheses()
new __Parentheses(
options
):__Parentheses
Parameters
• options: ParenthesesOptions
Returns
Overrides
Defined in
core/src/node/el/controls/parentheses.ts:44 (opens in a new tab)
Properties
attr
attr:
object
The attributes of the element
depth
depth:
string
type
type:
"round"
|"square"
|"curly"
|"squareb"
Overrides
Defined in
core/src/node/el/controls/parentheses.ts:28 (opens in a new tab)
children
children:
SentenceChildEL
[]
The children of the element
Overrides
Defined in
core/src/node/el/controls/parentheses.ts:32 (opens in a new tab)
id
id:
number
Inherited from
Defined in
core/src/node/el/index.ts:14 (opens in a new tab)
range
range:
null
| [number
,number
]
Inherited from
Defined in
core/src/node/el/index.ts:15 (opens in a new tab)
tag
tag:
"__Parentheses"
The tag name of the element
Overrides
Defined in
core/src/node/el/controls/parentheses.ts:26 (opens in a new tab)
Accessors
content
get
content():__PContent
Returns
Defined in
core/src/node/el/controls/parentheses.ts:34 (opens in a new tab)
end
get
end():__PEnd
Returns
Defined in
core/src/node/el/controls/parentheses.ts:40 (opens in a new tab)
isControl
get
isControl():true
Returns
true
Overrides
Defined in
core/src/node/el/controls/parentheses.ts:27 (opens in a new tab)
start
get
start():__PStart
Returns
Defined in
core/src/node/el/controls/parentheses.ts:37 (opens in a new tab)
Methods
copy()
copy(
deep
,copyID
):EL
Parameters
• deep: boolean
= true
• copyID: boolean
= false
Returns
Inherited from
Defined in
core/src/node/el/index.ts:40 (opens in a new tab)
innerXML()
innerXML(
withControlEl
):string
Parameters
• withControlEl: boolean
= false
Returns
string
Inherited from
Defined in
core/src/node/el/index.ts:109 (opens in a new tab)
json()
json(
withControlEl
,withProperties
):JsonEL
Parameters
• withControlEl: boolean
= false
• withProperties: boolean
= false
Returns
Inherited from
Defined in
core/src/node/el/index.ts:56 (opens in a new tab)
outerXML()
outerXML(
withControlEl
):string
Parameters
• withControlEl: boolean
= false
Returns
string
Inherited from
Defined in
core/src/node/el/index.ts:105 (opens in a new tab)
text()
text():
string
Returns
string
Inherited from
Defined in
core/src/node/el/index.ts:95 (opens in a new tab)
wrapXML()
wrapXML(
inner
):string
Parameters
• inner: string
Returns
string