main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
356 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | const Element = require('./Element');
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * @class BooleanElement
|
---|
| 5 | *
|
---|
| 6 | * @param {boolean} content
|
---|
| 7 | * @param meta
|
---|
| 8 | * @param attributes
|
---|
| 9 | */
|
---|
| 10 | module.exports = class BooleanElement extends Element {
|
---|
| 11 | constructor(content, meta, attributes) {
|
---|
| 12 | super(content, meta, attributes);
|
---|
| 13 | this.element = 'boolean';
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | primitive() {
|
---|
| 17 | return 'boolean';
|
---|
| 18 | }
|
---|
| 19 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.