(config)
| 100 | } |
| 101 | |
| 102 | _getConfig(config) { |
| 103 | config = { |
| 104 | ...Default, |
| 105 | ...(typeof config === "object" ? config : {}), |
| 106 | }; |
| 107 | |
| 108 | // use getElement() with the default "body" to get a fresh Element on each instantiation |
| 109 | config.rootElement = getElement(config.rootElement); |
| 110 | typeCheckConfig(NAME, config, DefaultType); |
| 111 | return config; |
| 112 | } |
| 113 | |
| 114 | _append() { |
| 115 | if (this._isAppended) { |
no test coverage detected