icon.js 245 B

12345678910111213
  1. import { widget } from "interface/widget.js";
  2. class icon extends widget {
  3. constructor(target, name = undefined) {
  4. super(target, "icon", name);
  5. }
  6. change(target) {
  7. this._content = target;
  8. }
  9. }
  10. export { icon };