()
| 538 | } |
| 539 | |
| 540 | get format(): Format { |
| 541 | const format = this.getAttribute('format') |
| 542 | if (format === 'datetime') return 'datetime' |
| 543 | if (format === 'relative') return 'relative' |
| 544 | if (format === 'duration') return 'duration' |
| 545 | if (format === 'micro') return 'micro' |
| 546 | if (format === 'elapsed') return 'elapsed' |
| 547 | return 'auto' |
| 548 | } |
| 549 | |
| 550 | set format(value: Format) { |
| 551 | this.setAttribute('format', value) |
no outgoing calls
no test coverage detected