Returns all the hidden properties.
()
| 267 | |
| 268 | /** Returns all the hidden properties. */ |
| 269 | getHiddenProps(): string[] { |
| 270 | let result: string[] = []; |
| 271 | for (let prop in this) { |
| 272 | if (endsWith(prop, HIDE_STATE_SUFFIX) && String(this[prop]) === "true") { |
| 273 | result.push(prop.replace(HIDE_STATE_SUFFIX, "")); |
| 274 | } |
| 275 | } |
| 276 | return result; |
| 277 | } |
| 278 | |
| 279 | setHideProperty(name: string, hidden: boolean) { |
| 280 | this[name + HIDE_STATE_SUFFIX] = hidden; |
no test coverage detected