(string)
| 270 | } |
| 271 | |
| 272 | text(string) { |
| 273 | if (!this.element) { |
| 274 | return; |
| 275 | } |
| 276 | |
| 277 | if (string === undefined) { |
| 278 | return this.element.textContent; |
| 279 | } else { |
| 280 | this.element.textContent = string; |
| 281 | } |
| 282 | |
| 283 | return this; |
| 284 | } |
| 285 | |
| 286 | html(string) { |
| 287 | if (!this.element) { |