Library
core
interfaces
Core Src Law Std Stdel.newprovision

Lawtext core references / core/src/law/std/stdEL / NewProvision

Interface: NewProvision

core/src/law/std/stdEL.NewProvision

EL: a simplified XML DOM functionality that implements JsonEL interface.

Hierarchy

Table of contents

Properties

Methods

Properties

attr

attr: Record<string, never>

The attributes of the element

Overrides

_StdEL.attr

Defined in

core/src/law/std/stdEL.ts:733 (opens in a new tab)


children

children: (LawBody | LawTitle | TOC | Preamble | Part | PartTitle | Chapter | ChapterTitle | Section | SectionTitle | Subsection | SubsectionTitle | Division | DivisionTitle | Article | Paragraph | SupplNote | AmendProvision | Item | Subitem1 | Subitem2 | Subitem3 | Subitem4 | Subitem5 | Subitem6 | Subitem7 | Subitem8 | Subitem9 | Subitem10 | Sentence | SupplProvisionAppdxTable | SupplProvisionAppdxStyle | SupplProvisionAppdx | AppdxTable | AppdxNote | AppdxStyle | AppdxFormat | Appdx | AppdxFig | TableStruct | TableRow | TableColumn | FigStruct | NoteStruct | StyleStruct | FormatStruct | Remarks | List)[]

The children of the element

Overrides

_StdEL.children

Defined in

core/src/law/std/stdEL.ts:734 (opens in a new tab)


id

id: number

Inherited from

_StdEL.id

Defined in

core/src/node/el/index.ts:14 (opens in a new tab)


isControl

isControl: false

Inherited from

_StdEL.isControl

Defined in

core/src/law/std/stdEL.ts:153 (opens in a new tab)


range

range: null | [start: number, end: number]

Inherited from

_StdEL.range

Defined in

core/src/node/el/index.ts:15 (opens in a new tab)


tag

tag: "NewProvision"

The tag name of the element

Overrides

_StdEL.tag

Defined in

core/src/law/std/stdEL.ts:732 (opens in a new tab)

Methods

copy

copy(deep?, copyID?): EL

Parameters

NameTypeDefault value
deepbooleantrue
copyIDbooleanfalse

Returns

EL

Inherited from

_StdEL.copy

Defined in

core/src/node/el/index.ts:40 (opens in a new tab)


innerXML

innerXML(withControlEl?): string

Parameters

NameTypeDefault value
withControlElbooleanfalse

Returns

string

Inherited from

_StdEL.innerXML

Defined in

core/src/node/el/index.ts:109 (opens in a new tab)


json

json(withControlEl?, withProperties?): JsonEL

Parameters

NameTypeDefault value
withControlElbooleanfalse
withPropertiesbooleanfalse

Returns

JsonEL

Inherited from

_StdEL.json

Defined in

core/src/node/el/index.ts:56 (opens in a new tab)


outerXML

outerXML(withControlEl?): string

Parameters

NameTypeDefault value
withControlElbooleanfalse

Returns

string

Inherited from

_StdEL.outerXML

Defined in

core/src/node/el/index.ts:105 (opens in a new tab)


text

text(): string

Returns

string

Inherited from

_StdEL.text

Defined in

core/src/node/el/index.ts:95 (opens in a new tab)


wrapXML

wrapXML(inner): string

Parameters

NameType
innerstring

Returns

string

Inherited from

_StdEL.wrapXML

Defined in

core/src/node/el/index.ts:101 (opens in a new tab)