To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Properties
Name | Returns | Notes | Example |
---|---|---|---|
text | String | ||
transCode | String | ||
args | Object |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
text ( text, args ) | NarrativeItem |
Set the default text and arguments on this item. Text should use {}
as a placeholder for arguments
Eg "Password must be {} characters long", [8] |
|
transCode ( sourceType, sourceId, transCode ) | NarrativeItem | Set the transCode property, to identify translations for this message |