Lawtext core references / core/src/law/std/stdEL / _StdEL
Interface: _StdEL
core/src/law/std/stdEL._StdEL
EL: a simplified XML DOM functionality that implements JsonEL interface.
Hierarchy
-
↳
_StdEL
↳↳
Law
↳↳
LawNum
↳↳
LawBody
↳↳
LawTitle
↳↳
TOC
↳↳
TOCLabel
↳↳
TOCPart
↳↳
TOCChapter
↳↳
TOCSection
↳↳
TOCDivision
↳↳
TOCArticle
↳↳
ArticleRange
↳↳
Preamble
↳↳
Part
↳↳
PartTitle
↳↳
Chapter
↳↳
ChapterTitle
↳↳
Section
↳↳
SectionTitle
↳↳
Subsection
↳↳
Division
↳↳
Article
↳↳
ArticleTitle
↳↳
Paragraph
↳↳
ParagraphNum
↳↳
SupplNote
↳↳
NewProvision
↳↳
Class
↳↳
ClassTitle
↳↳
Item
↳↳
ItemTitle
↳↳
ItemSentence
↳↳
Subitem1
↳↳
Subitem2
↳↳
Subitem3
↳↳
Subitem4
↳↳
Subitem5
↳↳
Subitem6
↳↳
Subitem7
↳↳
Subitem8
↳↳
Subitem9
↳↳
Subitem10
↳↳
Sentence
↳↳
Column
↳↳
SupplProvisionAppdxTableTitle
↳↳
SupplProvisionAppdxStyleTitle
↳↳
AppdxTable
↳↳
AppdxNote
↳↳
AppdxStyle
↳↳
AppdxFormat
↳↳
Appdx
↳↳
ArithFormula
↳↳
AppdxFig
↳↳
TableStruct
↳↳
Table
↳↳
TableRow
↳↳
TableColumn
↳↳
FigStruct
↳↳
Fig
↳↳
NoteStruct
↳↳
Note
↳↳
StyleStruct
↳↳
Style
↳↳
FormatStruct
↳↳
Format
↳↳
Remarks
↳↳
RemarksLabel
↳↳
List
↳↳
ListSentence
↳↳
Sublist1
↳↳
Sublist2
↳↳
Sublist3
↳↳
QuoteStruct
↳↳
Ruby
↳↳
Rt
↳↳
Line
↳↳
Sup
↳↳
Sub
Table of contents
Properties
Methods
Properties
attr
• attr: Object
The attributes of the element
Index signature
▪ [key: string
]: string
| undefined
Inherited from
Defined in
core/src/node/el/index.ts:12 (opens in a new tab)
children
• children: (string
| EL
)[]
The children of the element
Inherited from
Defined in
core/src/node/el/index.ts:13 (opens in a new tab)
id
• id: number
Inherited from
Defined in
core/src/node/el/index.ts:14 (opens in a new tab)
isControl
• isControl: false
Overrides
Defined in
core/src/law/std/stdEL.ts:153 (opens in a new tab)
range
• range: null
| [start: number, end: number]
Inherited from
Defined in
core/src/node/el/index.ts:15 (opens in a new tab)
tag
• tag: string
The tag name of the element
Inherited from
Defined in
core/src/node/el/index.ts:11 (opens in a new tab)
Methods
copy
▸ copy(deep?
, copyID?
): EL
Parameters
Name | Type | Default value |
---|---|---|
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
Name | Type | Default value |
---|---|---|
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
Name | Type | Default value |
---|---|---|
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
Name | Type | Default value |
---|---|---|
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
Name | Type |
---|---|
inner | string |
Returns
string