make load faster

master
JFH 2020-12-29 14:39:08 +01:00
parent 9a7d60dfe7
commit c6f8f43d67
1 changed files with 3 additions and 4 deletions

View File

@ -2,9 +2,8 @@
import ListComboBox from 'elix/define/ListComboBox.js';
import NumberSpinBox from 'elix/define/NumberSpinBox.js';
// import Input from 'elix/src/base/Input.js';
import {defaultState} from 'elix/src/base/internal.js';
import * as internal from 'elix/src/base/internal.js';
import {templateFrom, fragmentFrom} from 'elix/src/core/htmlLiterals.js';
import {internal} from 'elix';
/**
* @class Dropdown
@ -14,8 +13,8 @@ class Dropdown extends ListComboBox {
* @function get
* @returns {PlainObject}
*/
get [defaultState] () {
return Object.assign(super[defaultState], {
get [internal.defaultState] () {
return Object.assign(super[internal.defaultState], {
inputPartType: NumberSpinBox,
src: './images/logo.svg',
inputsize: '100%'