SVGIcon class, Macro reference entity

This commit is contained in:
barsdeveloper
2022-11-16 17:47:11 +01:00
parent 900245d69e
commit 704049c869
29 changed files with 571 additions and 190 deletions

View File

@@ -15,4 +15,12 @@ export default class LocalizedTextEntity extends IEntity {
/** @type {String} */ this.key
/** @type {String} */ this.value
}
toString() {
if (this.value.length === 0) {
return this.value
}
let result = this.value
return result.charAt(0).toLocaleUpperCase() + result.slice(1).toLocaleLowerCase()
}
}