@serenity-is/corelib / LT
Class: LT
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new LT(key)
Parameters
| Name | Type |
|---|---|
key |
string |
Defined in
Properties
key
• Private key: string
Defined in
empty
▪ Static empty: LT
Defined in
getDefault
▪ Static getDefault: (key: string, defaultText: string) => string
Type declaration
▸ (key, defaultText): string
Parameters
| Name | Type |
|---|---|
key |
string |
defaultText |
string |
Returns
string
Defined in
initializeTextClass
▪ Static initializeTextClass: (type: any, prefix: string) => void
Type declaration
▸ (type, prefix): void
Parameters
| Name | Type |
|---|---|
type |
any |
prefix |
string |
Returns
void
Defined in
Methods
get
▸ get(): string
Returns
string
Defined in
toString
▸ toString(): string
Returns
string
Defined in
add
▸ Static add(key, value): void
Parameters
| Name | Type |
|---|---|
key |
string |
value |
string |
Returns
void