* Set the prefix of any hrefs associated with this thing. * * @param {String} prefix The prefix
(prefix: string)
| 174 | * @param {String} prefix The prefix |
| 175 | */ |
| 176 | setHrefPrefix(prefix: string): void { |
| 177 | this.hrefPrefix = prefix; |
| 178 | |
| 179 | for (const property of Object.values(this.properties)) { |
| 180 | property.setHrefPrefix(prefix); |
| 181 | } |
| 182 | |
| 183 | for (const actionName in this.actions) { |
| 184 | for (const action of this.actions[actionName]) { |
| 185 | action.setHrefPrefix(prefix); |
| 186 | } |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Set the href of this thing's custom UI. |
no outgoing calls
no test coverage detected