Library
core
classes
Core Src Data Loaders Common.lawxmlstruct

Lawtext core references / core/src/data/loaders/common / LawXMLStruct

Class: LawXMLStruct

core/src/data/loaders/common.LawXMLStruct

Hierarchy

Table of contents

Constructors

Accessors

Methods

Constructors

constructor

new LawXMLStruct(): LawXMLStruct

Returns

LawXMLStruct

Accessors

xml

get xml(): string

Returns

string

Defined in

core/src/data/loaders/common.ts:10 (opens in a new tab)

Methods

getPictBlob

getPictBlob(src): Promise<null | { buf: ArrayBuffer ; type: string }>

Parameters

NameType
srcstring

Returns

Promise<null | { buf: ArrayBuffer ; type: string }>

Defined in

core/src/data/loaders/common.ts:12 (opens in a new tab)


getPictFileOrBlobURL

getPictFileOrBlobURL(src): Promise<null | { type: string ; url: string }>

Parameters

NameType
srcstring

Returns

Promise<null | { type: string ; url: string }>

Defined in

core/src/data/loaders/common.ts:11 (opens in a new tab)