github
117 of 193 branches covered (60.62%)
0 of 197 new or added lines in 10 files covered. (0.0%)
4 existing lines in 1 file now uncovered.9633 of 20254 relevant lines covered (47.56%)
712.78 hits per line
NEW
|
/** @format */
|
|
NEW
|
/* eslint-disable class-methods-use-this, max-classes-per-file */
|
× |
NEW
|
|
× |
NEW
|
import { LsmbBaseChecked } from "@/elements/lsmb-base-checked"; |
× |
NEW
|
|
× |
NEW
|
const dojoCheckBox = require("dijit/form/CheckBox");
|
× |
NEW
|
|
× |
NEW
|
export class LsmbCheckBox extends LsmbBaseChecked { |
× |
NEW
|
widgetWrapper = null;
|
× |
NEW
|
|
× |
NEW
|
_stdProps() { |
× |
NEW
|
return {
|
× |
NEW
|
...super._stdProps(),
|
× |
NEW
|
value: 1 |
× |
NEW
|
}; |
× |
NEW
|
} |
× |
NEW
|
|
× |
NEW
|
_widgetRoot() { |
× |
NEW
|
if (this.widgetWrapper) { |
× |
NEW
|
return this.widgetWrapper; |
× |
NEW
|
} |
× |
NEW
|
this.widgetWrapper = document.createElement("span"); |
× |
NEW
|
this.appendChild(this.widgetWrapper); |
× |
NEW
|
|
× |
NEW
|
return this.widgetWrapper; |
× |
NEW
|
} |
× |
NEW
|
|
× |
NEW
|
_widgetClass() { |
× |
NEW
|
return dojoCheckBox;
|
× |
NEW
|
} |
× |
NEW
|
} |
× |
NEW
|
|
× |
NEW
|
customElements.define("lsmb-checkbox", LsmbCheckBox);
|
× |