Skip to content

@serenity-is/corelib / LT

Class: LT

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new LT(key)

Parameters

Name Type
key string

Defined in

src/q/localtext.ts:97

Properties

key

• Private key: string

Defined in

src/q/localtext.ts:97


empty

▪ Static empty: LT

Defined in

src/q/localtext.ts:95


getDefault

▪ Static getDefault: (key: string, defaultText: string) => string

Type declaration

▸ (key, defaultText): string

Parameters
Name Type
key string
defaultText string
Returns

string

Defined in

src/q/localtext.ts:157


initializeTextClass

▪ Static initializeTextClass: (type: any, prefix: string) => void

Type declaration

▸ (type, prefix): void

Parameters
Name Type
type any
prefix string
Returns

void

Defined in

src/q/localtext.ts:142

Methods

get

▸ get(): string

Returns

string

Defined in

src/q/localtext.ts:126


toString

▸ toString(): string

Returns

string

Defined in

src/q/localtext.ts:134


add

▸ Static add(key, value): void

Parameters

Name Type
key string
value string

Returns

void

Defined in

src/q/localtext.ts:100