@twobirds/microcomponents 0.0.27 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/3d.html +42 -0
- package/assets/documentation/MicroComponents.md +39 -20
- package/assets/test.html +0 -1
- package/dist/MC.d.ts +6 -2
- package/dist/MC.d.ts.map +1 -1
- package/dist/MC.min.js +61 -85
- package/dist/MC.ts +85 -112
- package/dist/customElements.min.js +1 -1
- package/dist/customObservables.d.ts +1 -1
- package/dist/customObservables.d.ts.map +1 -1
- package/dist/customObservables.min.js +1 -1
- package/dist/customObservables.ts +2 -2
- package/dist/microcomponents.min.js +1 -1
- package/dist/test.ts +22 -5
- package/package.json +3 -3
- package/public/3d.html +42 -0
- package/public/MC.js +61 -85
- package/public/MC.js.map +1 -1
- package/public/MC.min.js +61 -85
- package/public/assets/search.js +1 -1
- package/public/classes/DC.html +26 -37
- package/public/classes/MC.html +19 -30
- package/public/classes/McBase.html +5 -17
- package/public/classes/McEvent.html +13 -13
- package/public/customElements.min.js +1 -1
- package/public/customObservables.js +1 -1
- package/public/customObservables.js.map +1 -1
- package/public/customObservables.min.js +1 -1
- package/public/documentation/MicroComponents.md +39 -20
- package/public/functions/addListener.html +1 -1
- package/public/functions/removeListener.html +1 -1
- package/public/interfaces/HTMLMcElement.html +2 -2
- package/public/microcomponents.min.js +1 -1
- package/public/test.html +0 -1
- package/public/test.js +16 -5
- package/public/test.js.map +1 -1
- package/src/MC.ts +85 -112
- package/src/customObservables.ts +2 -2
- package/src/test.ts +22 -5
package/public/MC.min.js
CHANGED
|
@@ -244,45 +244,77 @@ function trigger(target, ev, data = {}) {
|
|
|
244
244
|
});
|
|
245
245
|
return;
|
|
246
246
|
}
|
|
247
|
+
// run the "init" lifecycle event on the completemcr structure
|
|
248
|
+
function init(element) {
|
|
249
|
+
let isDomMcInstance = element.constructor === DC;
|
|
250
|
+
setTimeout(() => {
|
|
251
|
+
element.trigger('Init');
|
|
252
|
+
if (!isDomMcInstance) {
|
|
253
|
+
setTimeout(() => {
|
|
254
|
+
let keys = Object.keys(element?._mc);
|
|
255
|
+
if (keys.length) {
|
|
256
|
+
//console.log( 'inner Inits on [', mc.constructor.name, ']', keys );
|
|
257
|
+
keys?.forEach((key) => {
|
|
258
|
+
let mc = element?._mc?.[key];
|
|
259
|
+
//console.log( key, typeof mc?.oneInit, mc );
|
|
260
|
+
if (mc['oneInit'] && typeof mc.oneInit == 'function') {
|
|
261
|
+
mc.oneInit(new McEvent('Init'));
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
;
|
|
266
|
+
}, 0);
|
|
267
|
+
}
|
|
268
|
+
}, 0);
|
|
269
|
+
}
|
|
270
|
+
function autoAttachListeners(element) {
|
|
271
|
+
if (!MC_isBrowser() || element.constructor === DC)
|
|
272
|
+
return;
|
|
273
|
+
const target = element.target;
|
|
274
|
+
if (target instanceof HTMLElement) {
|
|
275
|
+
let that = element;
|
|
276
|
+
Object
|
|
277
|
+
.getOwnPropertyNames(that.constructor.prototype)
|
|
278
|
+
.filter(key => /^on[A-Z]|one[A-Z]/.test(key) && typeof that.constructor.prototype[key] === 'function')
|
|
279
|
+
.forEach(key => {
|
|
280
|
+
let once = /^one/.test(key), withoutOnOne = key.replace(/^on[e]{0,1}/, ''), // preserves upper/lowercase for non-native events
|
|
281
|
+
nativeEventName = withoutOnOne.toLowerCase(), listener = (ev) => { that.trigger(withoutOnOne, ev); };
|
|
282
|
+
;
|
|
283
|
+
if (once) {
|
|
284
|
+
// console.log( '...is only called once', that.constructor.prototype[key] );
|
|
285
|
+
Object.defineProperty(element, 'on' + withoutOnOne, {
|
|
286
|
+
configurable: true,
|
|
287
|
+
enumerable: false,
|
|
288
|
+
writable: true,
|
|
289
|
+
value: (ev) => {
|
|
290
|
+
// console.log( 'onceHandler execute:', that.constructor.prototype[key] );
|
|
291
|
+
(that.constructor.prototype[key]).bind(that)(ev);
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
if (MC_nativeEventNames.has('on' + nativeEventName)) { // native event defined in HTMLElement
|
|
296
|
+
// console.log('added as native listener', target, nativeEventName );
|
|
297
|
+
addListener(target, nativeEventName, listener, false, once);
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
}
|
|
247
302
|
class McBase {
|
|
248
303
|
#target; // avoid circular reference
|
|
249
|
-
#_mc = {};
|
|
250
304
|
constructor(target) {
|
|
251
|
-
let that = this;
|
|
305
|
+
let that = this, element = that;
|
|
252
306
|
this.#target = new WeakRef(target);
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
get() { return this.#_mc; }
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
;
|
|
307
|
+
init(element); // async lifecycle event
|
|
308
|
+
autoAttachListeners(element);
|
|
259
309
|
}
|
|
260
310
|
get target() {
|
|
261
311
|
return this.#target.deref();
|
|
262
312
|
}
|
|
263
313
|
}
|
|
264
314
|
class MC extends McBase {
|
|
315
|
+
_mc = {};
|
|
265
316
|
constructor(target) {
|
|
266
317
|
super(target);
|
|
267
|
-
let that = this;
|
|
268
|
-
setTimeout(() => {
|
|
269
|
-
that.trigger('Init');
|
|
270
|
-
setTimeout(() => {
|
|
271
|
-
let keys = Object.keys(that?._mc);
|
|
272
|
-
if (keys.length) {
|
|
273
|
-
//console.log( 'inner Inits on [', that.constructor.name, ']', keys );
|
|
274
|
-
keys?.forEach((key) => {
|
|
275
|
-
let mc = that?._mc?.[key];
|
|
276
|
-
//console.log( key, typeof mc?.oneInit, mc );
|
|
277
|
-
if (mc?.oneInit && typeof mc?.oneInit == 'function') {
|
|
278
|
-
mc.oneInit(new McEvent('Init'));
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
;
|
|
283
|
-
}, 0);
|
|
284
|
-
}, 0);
|
|
285
|
-
this.autoAttachListeners();
|
|
286
318
|
}
|
|
287
319
|
static trigger = trigger;
|
|
288
320
|
trigger(ev, data = {}, bubble) {
|
|
@@ -345,80 +377,24 @@ class MC extends McBase {
|
|
|
345
377
|
}
|
|
346
378
|
}
|
|
347
379
|
}
|
|
348
|
-
autoAttachListeners() {
|
|
349
|
-
if (!MC_isBrowser())
|
|
350
|
-
return;
|
|
351
|
-
const target = this.target;
|
|
352
|
-
if (target instanceof HTMLElement) {
|
|
353
|
-
let that = this;
|
|
354
|
-
Object
|
|
355
|
-
.getOwnPropertyNames(that.constructor.prototype)
|
|
356
|
-
.filter(key => /^on[A-Z]|one[A-Z]/.test(key) && typeof that.constructor.prototype[key] === 'function')
|
|
357
|
-
.forEach(key => {
|
|
358
|
-
let once = /^one/.test(key), withoutOnOne = key.replace(/^on[e]{0,1}/, ''), // preserves upper/lowercase for non-native events
|
|
359
|
-
nativeEventName = withoutOnOne.toLowerCase(), listener = (ev) => { that.trigger(withoutOnOne, ev); };
|
|
360
|
-
;
|
|
361
|
-
if (once) {
|
|
362
|
-
// console.log( '...is only called once', that.constructor.prototype[key] );
|
|
363
|
-
Object.defineProperty(this, 'on' + withoutOnOne, {
|
|
364
|
-
configurable: true,
|
|
365
|
-
enumerable: false,
|
|
366
|
-
writable: true,
|
|
367
|
-
value: (ev) => {
|
|
368
|
-
// console.log( 'onceHandler execute:', that.constructor.prototype[key] );
|
|
369
|
-
(that.constructor.prototype[key]).bind(that)(ev);
|
|
370
|
-
}
|
|
371
|
-
});
|
|
372
|
-
}
|
|
373
|
-
if (MC_nativeEventNames.has('on' + nativeEventName)) { // native event defined in HTMLElement
|
|
374
|
-
// console.log('added as native listener', target, nativeEventName );
|
|
375
|
-
addListener(target, nativeEventName, listener, false, once);
|
|
376
|
-
}
|
|
377
|
-
});
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
380
|
}
|
|
381
381
|
;
|
|
382
382
|
class DC extends McBase {
|
|
383
|
+
__mc = {};
|
|
383
384
|
constructor(target) {
|
|
384
385
|
super(target);
|
|
385
|
-
let that = this, isDomMcInstance = that.constructor === DC;
|
|
386
|
-
setTimeout(() => {
|
|
387
|
-
that.trigger('Init');
|
|
388
|
-
if (!isDomMcInstance) {
|
|
389
|
-
setTimeout(() => {
|
|
390
|
-
let keys = Object.keys(that?._mc);
|
|
391
|
-
if (keys.length) {
|
|
392
|
-
//console.log( 'inner Inits on [', that.constructor.name, ']', keys );
|
|
393
|
-
keys?.forEach((key) => {
|
|
394
|
-
let mc = that?._mc?.[key];
|
|
395
|
-
//console.log( key, typeof mc?.oneInit, mc );
|
|
396
|
-
if (mc?.oneInit && typeof mc?.oneInit == 'function') {
|
|
397
|
-
mc.oneInit(new McEvent('Init'));
|
|
398
|
-
}
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
;
|
|
402
|
-
}, 0);
|
|
403
|
-
}
|
|
404
|
-
}, 0);
|
|
405
|
-
this.autoAttachListeners();
|
|
406
386
|
}
|
|
407
387
|
static debug = false;
|
|
408
388
|
static add = add;
|
|
409
389
|
static remove = remove;
|
|
410
390
|
static trigger = trigger;
|
|
411
391
|
get _mc() {
|
|
412
|
-
return this.
|
|
392
|
+
return this.__mc;
|
|
413
393
|
}
|
|
414
394
|
trigger(ev, data = {}, bubble) {
|
|
415
395
|
MC.prototype.trigger.call(this, ev, data, bubble);
|
|
416
396
|
}
|
|
417
397
|
;
|
|
418
|
-
autoAttachListeners() {
|
|
419
|
-
MC.prototype.autoAttachListeners.call(this);
|
|
420
|
-
}
|
|
421
|
-
;
|
|
422
398
|
parent(search = '') {
|
|
423
399
|
let target = this.target;
|
|
424
400
|
if (!MC_isDOM(target))
|
package/public/assets/search.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
window.searchData = JSON.parse("{\"kinds\":{\"64\":\"Function\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\"},\"rows\":[{\"kind\":256,\"name\":\"HTMLMcElement\",\"url\":\"interfaces/HTMLMcElement.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"_mc\",\"url\":\"interfaces/HTMLMcElement.html#_mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"HTMLMcElement\"},{\"kind\":64,\"name\":\"addListener\",\"url\":\"functions/addListener.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"removeListener\",\"url\":\"functions/removeListener.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":128,\"name\":\"McBase\",\"url\":\"classes/McBase.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/McBase.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"McBase\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/McBase.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McBase\"},{\"kind\":1024,\"name\":\"#_mc\",\"url\":\"classes/McBase.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McBase\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/McBase.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"McBase.#_mc\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/McBase.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"McBase\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/MC.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":1024,\"name\":\"trigger\",\"url\":\"classes/MC.html#trigger\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MC.html#trigger.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"MC.trigger\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"MC\"},{\"kind\":2048,\"name\":\"trigger\",\"url\":\"classes/MC.html#trigger-1\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC\"},{\"kind\":2048,\"name\":\"autoAttachListeners\",\"url\":\"classes/MC.html#autoAttachListeners\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/MC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MC\"},{\"kind\":1024,\"name\":\"#_mc\",\"url\":\"classes/MC.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MC.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"MC.#_mc\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/MC.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MC\"},{\"kind\":128,\"name\":\"DC\",\"url\":\"classes/DC.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":1024,\"name\":\"debug\",\"url\":\"classes/DC.html#debug\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"add\",\"url\":\"classes/DC.html#add\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"remove\",\"url\":\"classes/DC.html#remove\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"trigger\",\"url\":\"classes/DC.html#trigger\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":262144,\"name\":\"_mc\",\"url\":\"classes/DC.html#_mc\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DC.html#_mc._mc-1.__type-1\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DC._mc._mc\"},{\"kind\":2048,\"name\":\"trigger\",\"url\":\"classes/DC.html#trigger-1\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"autoAttachListeners\",\"url\":\"classes/DC.html#autoAttachListeners\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/DC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"ancestors\",\"url\":\"classes/DC.html#ancestors\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/DC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/DC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/DC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"#_mc\",\"url\":\"classes/DC.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DC.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"DC.#_mc\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/DC.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DC\"},{\"kind\":128,\"name\":\"McEvent\",\"url\":\"classes/McEvent.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/McEvent.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"classes/McEvent.html#data\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"bubble\",\"url\":\"classes/McEvent.html#bubble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"#type\",\"url\":\"classes/McEvent.html#_type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"#stopped\",\"url\":\"classes/McEvent.html#_stopped\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"#immediateStopped\",\"url\":\"classes/McEvent.html#_immediateStopped\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McEvent\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/McEvent.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":262144,\"name\":\"stopped\",\"url\":\"classes/McEvent.html#stopped\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":262144,\"name\":\"immediateStopped\",\"url\":\"classes/McEvent.html#immediateStopped\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":2048,\"name\":\"stopPropagation\",\"url\":\"classes/McEvent.html#stopPropagation\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":2048,\"name\":\"stopImmediatePropagation\",\"url\":\"classes/McEvent.html#stopImmediatePropagation\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"McEvent\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,35.264]],[\"comment/0\",[]],[\"name/1\",[1,22.271]],[\"comment/1\",[]],[\"name/2\",[2,35.264]],[\"comment/2\",[]],[\"name/3\",[3,35.264]],[\"comment/3\",[]],[\"name/4\",[4,35.264]],[\"comment/4\",[]],[\"name/5\",[5,24.277]],[\"comment/5\",[]],[\"name/6\",[6,20.6]],[\"comment/6\",[]],[\"name/7\",[1,22.271]],[\"comment/7\",[]],[\"name/8\",[7,22.271]],[\"comment/8\",[]],[\"name/9\",[6,20.6]],[\"comment/9\",[]],[\"name/10\",[8,35.264]],[\"comment/10\",[]],[\"name/11\",[9,24.277]],[\"comment/11\",[]],[\"name/12\",[7,22.271]],[\"comment/12\",[]],[\"name/13\",[5,24.277]],[\"comment/13\",[]],[\"name/14\",[9,24.277]],[\"comment/14\",[]],[\"name/15\",[10,30.155]],[\"comment/15\",[]],[\"name/16\",[6,20.6]],[\"comment/16\",[]],[\"name/17\",[1,22.271]],[\"comment/17\",[]],[\"name/18\",[7,22.271]],[\"comment/18\",[]],[\"name/19\",[6,20.6]],[\"comment/19\",[]],[\"name/20\",[11,35.264]],[\"comment/20\",[]],[\"name/21\",[12,35.264]],[\"comment/21\",[]],[\"name/22\",[13,35.264]],[\"comment/22\",[]],[\"name/23\",[14,35.264]],[\"comment/23\",[]],[\"name/24\",[9,24.277]],[\"comment/24\",[]],[\"name/25\",[5,24.277]],[\"comment/25\",[]],[\"name/26\",[1,22.271]],[\"comment/26\",[]],[\"name/27\",[7,22.271]],[\"comment/27\",[]],[\"name/28\",[9,24.277]],[\"comment/28\",[]],[\"name/29\",[10,30.155]],[\"comment/29\",[]],[\"name/30\",[15,35.264]],[\"comment/30\",[]],[\"name/31\",[16,35.264]],[\"comment/31\",[]],[\"name/32\",[17,35.264]],[\"comment/32\",[]],[\"name/33\",[18,35.264]],[\"comment/33\",[]],[\"name/34\",[6,20.6]],[\"comment/34\",[]],[\"name/35\",[1,22.271]],[\"comment/35\",[]],[\"name/36\",[7,22.271]],[\"comment/36\",[]],[\"name/37\",[6,20.6]],[\"comment/37\",[]],[\"name/38\",[19,35.264]],[\"comment/38\",[]],[\"name/39\",[5,24.277]],[\"comment/39\",[]],[\"name/40\",[20,35.264]],[\"comment/40\",[]],[\"name/41\",[21,35.264]],[\"comment/41\",[]],[\"name/42\",[22,30.155]],[\"comment/42\",[]],[\"name/43\",[23,30.155]],[\"comment/43\",[]],[\"name/44\",[24,30.155]],[\"comment/44\",[]],[\"name/45\",[22,30.155]],[\"comment/45\",[]],[\"name/46\",[23,30.155]],[\"comment/46\",[]],[\"name/47\",[24,30.155]],[\"comment/47\",[]],[\"name/48\",[25,35.264]],[\"comment/48\",[]],[\"name/49\",[26,35.264]],[\"comment/49\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":7,\"name\":{\"8\":{},\"12\":{},\"18\":{},\"27\":{},\"36\":{}},\"comment\":{}}],[\"_mc\",{\"_index\":1,\"name\":{\"1\":{},\"7\":{},\"17\":{},\"26\":{},\"35\":{}},\"comment\":{}}],[\"add\",{\"_index\":13,\"name\":{\"22\":{}},\"comment\":{}}],[\"addlistener\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"ancestors\",{\"_index\":16,\"name\":{\"31\":{}},\"comment\":{}}],[\"autoattachlisteners\",{\"_index\":10,\"name\":{\"15\":{},\"29\":{}},\"comment\":{}}],[\"bubble\",{\"_index\":21,\"name\":{\"41\":{}},\"comment\":{}}],[\"children\",{\"_index\":17,\"name\":{\"32\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":5,\"name\":{\"5\":{},\"13\":{},\"25\":{},\"39\":{}},\"comment\":{}}],[\"data\",{\"_index\":20,\"name\":{\"40\":{}},\"comment\":{}}],[\"dc\",{\"_index\":11,\"name\":{\"20\":{}},\"comment\":{}}],[\"debug\",{\"_index\":12,\"name\":{\"21\":{}},\"comment\":{}}],[\"descendants\",{\"_index\":18,\"name\":{\"33\":{}},\"comment\":{}}],[\"htmlmcelement\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"immediatestopped\",{\"_index\":24,\"name\":{\"44\":{},\"47\":{}},\"comment\":{}}],[\"mc\",{\"_index\":8,\"name\":{\"10\":{}},\"comment\":{}}],[\"mcbase\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"mcevent\",{\"_index\":19,\"name\":{\"38\":{}},\"comment\":{}}],[\"parent\",{\"_index\":15,\"name\":{\"30\":{}},\"comment\":{}}],[\"remove\",{\"_index\":14,\"name\":{\"23\":{}},\"comment\":{}}],[\"removelistener\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"stopimmediatepropagation\",{\"_index\":26,\"name\":{\"49\":{}},\"comment\":{}}],[\"stopped\",{\"_index\":23,\"name\":{\"43\":{},\"46\":{}},\"comment\":{}}],[\"stoppropagation\",{\"_index\":25,\"name\":{\"48\":{}},\"comment\":{}}],[\"target\",{\"_index\":6,\"name\":{\"6\":{},\"9\":{},\"16\":{},\"19\":{},\"34\":{},\"37\":{}},\"comment\":{}}],[\"trigger\",{\"_index\":9,\"name\":{\"11\":{},\"14\":{},\"24\":{},\"28\":{}},\"comment\":{}}],[\"type\",{\"_index\":22,\"name\":{\"42\":{},\"45\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
|
|
1
|
+
window.searchData = JSON.parse("{\"kinds\":{\"64\":\"Function\",\"128\":\"Class\",\"256\":\"Interface\",\"512\":\"Constructor\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\",\"262144\":\"Accessor\"},\"rows\":[{\"kind\":256,\"name\":\"HTMLMcElement\",\"url\":\"interfaces/HTMLMcElement.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"_mc\",\"url\":\"interfaces/HTMLMcElement.html#_mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"HTMLMcElement\"},{\"kind\":64,\"name\":\"addListener\",\"url\":\"functions/addListener.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":64,\"name\":\"removeListener\",\"url\":\"functions/removeListener.html\",\"classes\":\"tsd-kind-function\"},{\"kind\":128,\"name\":\"McBase\",\"url\":\"classes/McBase.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/McBase.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"McBase\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/McBase.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McBase\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/McBase.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"McBase\"},{\"kind\":128,\"name\":\"MC\",\"url\":\"classes/MC.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":1024,\"name\":\"trigger\",\"url\":\"classes/MC.html#trigger\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MC.html#trigger.__type-1\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"MC.trigger\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/MC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"MC\"},{\"kind\":1024,\"name\":\"_mc\",\"url\":\"classes/MC.html#_mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"MC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/MC.html#_mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"MC._mc\"},{\"kind\":2048,\"name\":\"trigger\",\"url\":\"classes/MC.html#trigger-1\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"MC\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/MC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"MC\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/MC.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"MC\"},{\"kind\":128,\"name\":\"DC\",\"url\":\"classes/DC.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":1024,\"name\":\"debug\",\"url\":\"classes/DC.html#debug\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"add\",\"url\":\"classes/DC.html#add\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"remove\",\"url\":\"classes/DC.html#remove\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"trigger\",\"url\":\"classes/DC.html#trigger\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/DC.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"__mc\",\"url\":\"classes/DC.html#__mc\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-protected\",\"parent\":\"DC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DC.html#__mc.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"DC.__mc\"},{\"kind\":262144,\"name\":\"_mc\",\"url\":\"classes/DC.html#_mc\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/DC.html#_mc._mc-1.__type-1\",\"classes\":\"tsd-kind-type-literal\",\"parent\":\"DC._mc._mc\"},{\"kind\":2048,\"name\":\"trigger\",\"url\":\"classes/DC.html#trigger-1\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"parent\",\"url\":\"classes/DC.html#parent\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"ancestors\",\"url\":\"classes/DC.html#ancestors\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"children\",\"url\":\"classes/DC.html#children\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":2048,\"name\":\"descendants\",\"url\":\"classes/DC.html#descendants\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"DC\"},{\"kind\":1024,\"name\":\"#target\",\"url\":\"classes/DC.html#_target\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited\",\"parent\":\"DC\"},{\"kind\":262144,\"name\":\"target\",\"url\":\"classes/DC.html#target\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited\",\"parent\":\"DC\"},{\"kind\":128,\"name\":\"McEvent\",\"url\":\"classes/McEvent.html\",\"classes\":\"tsd-kind-class\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/McEvent.html#constructor\",\"classes\":\"tsd-kind-constructor tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"data\",\"url\":\"classes/McEvent.html#data\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"bubble\",\"url\":\"classes/McEvent.html#bubble\",\"classes\":\"tsd-kind-property tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"#type\",\"url\":\"classes/McEvent.html#_type\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"#stopped\",\"url\":\"classes/McEvent.html#_stopped\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McEvent\"},{\"kind\":1024,\"name\":\"#immediateStopped\",\"url\":\"classes/McEvent.html#_immediateStopped\",\"classes\":\"tsd-kind-property tsd-parent-kind-class tsd-is-private\",\"parent\":\"McEvent\"},{\"kind\":262144,\"name\":\"type\",\"url\":\"classes/McEvent.html#type\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":262144,\"name\":\"stopped\",\"url\":\"classes/McEvent.html#stopped\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":262144,\"name\":\"immediateStopped\",\"url\":\"classes/McEvent.html#immediateStopped\",\"classes\":\"tsd-kind-accessor tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":2048,\"name\":\"stopPropagation\",\"url\":\"classes/McEvent.html#stopPropagation\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"McEvent\"},{\"kind\":2048,\"name\":\"stopImmediatePropagation\",\"url\":\"classes/McEvent.html#stopImmediatePropagation\",\"classes\":\"tsd-kind-method tsd-parent-kind-class\",\"parent\":\"McEvent\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,34.447]],[\"comment/0\",[]],[\"name/1\",[1,25.974]],[\"comment/1\",[]],[\"name/2\",[2,34.447]],[\"comment/2\",[]],[\"name/3\",[3,34.447]],[\"comment/3\",[]],[\"name/4\",[4,34.447]],[\"comment/4\",[]],[\"name/5\",[5,23.461]],[\"comment/5\",[]],[\"name/6\",[6,19.783]],[\"comment/6\",[]],[\"name/7\",[6,19.783]],[\"comment/7\",[]],[\"name/8\",[7,34.447]],[\"comment/8\",[]],[\"name/9\",[8,23.461]],[\"comment/9\",[]],[\"name/10\",[9,23.461]],[\"comment/10\",[]],[\"name/11\",[5,23.461]],[\"comment/11\",[]],[\"name/12\",[1,25.974]],[\"comment/12\",[]],[\"name/13\",[9,23.461]],[\"comment/13\",[]],[\"name/14\",[8,23.461]],[\"comment/14\",[]],[\"name/15\",[6,19.783]],[\"comment/15\",[]],[\"name/16\",[6,19.783]],[\"comment/16\",[]],[\"name/17\",[10,34.447]],[\"comment/17\",[]],[\"name/18\",[11,34.447]],[\"comment/18\",[]],[\"name/19\",[12,34.447]],[\"comment/19\",[]],[\"name/20\",[13,34.447]],[\"comment/20\",[]],[\"name/21\",[8,23.461]],[\"comment/21\",[]],[\"name/22\",[5,23.461]],[\"comment/22\",[]],[\"name/23\",[14,34.447]],[\"comment/23\",[]],[\"name/24\",[9,23.461]],[\"comment/24\",[]],[\"name/25\",[1,25.974]],[\"comment/25\",[]],[\"name/26\",[9,23.461]],[\"comment/26\",[]],[\"name/27\",[8,23.461]],[\"comment/27\",[]],[\"name/28\",[15,34.447]],[\"comment/28\",[]],[\"name/29\",[16,34.447]],[\"comment/29\",[]],[\"name/30\",[17,34.447]],[\"comment/30\",[]],[\"name/31\",[18,34.447]],[\"comment/31\",[]],[\"name/32\",[6,19.783]],[\"comment/32\",[]],[\"name/33\",[6,19.783]],[\"comment/33\",[]],[\"name/34\",[19,34.447]],[\"comment/34\",[]],[\"name/35\",[5,23.461]],[\"comment/35\",[]],[\"name/36\",[20,34.447]],[\"comment/36\",[]],[\"name/37\",[21,34.447]],[\"comment/37\",[]],[\"name/38\",[22,29.339]],[\"comment/38\",[]],[\"name/39\",[23,29.339]],[\"comment/39\",[]],[\"name/40\",[24,29.339]],[\"comment/40\",[]],[\"name/41\",[22,29.339]],[\"comment/41\",[]],[\"name/42\",[23,29.339]],[\"comment/42\",[]],[\"name/43\",[24,29.339]],[\"comment/43\",[]],[\"name/44\",[25,34.447]],[\"comment/44\",[]],[\"name/45\",[26,34.447]],[\"comment/45\",[]]],\"invertedIndex\":[[\"__mc\",{\"_index\":14,\"name\":{\"23\":{}},\"comment\":{}}],[\"__type\",{\"_index\":9,\"name\":{\"10\":{},\"13\":{},\"24\":{},\"26\":{}},\"comment\":{}}],[\"_mc\",{\"_index\":1,\"name\":{\"1\":{},\"12\":{},\"25\":{}},\"comment\":{}}],[\"add\",{\"_index\":12,\"name\":{\"19\":{}},\"comment\":{}}],[\"addlistener\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"ancestors\",{\"_index\":16,\"name\":{\"29\":{}},\"comment\":{}}],[\"bubble\",{\"_index\":21,\"name\":{\"37\":{}},\"comment\":{}}],[\"children\",{\"_index\":17,\"name\":{\"30\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":5,\"name\":{\"5\":{},\"11\":{},\"22\":{},\"35\":{}},\"comment\":{}}],[\"data\",{\"_index\":20,\"name\":{\"36\":{}},\"comment\":{}}],[\"dc\",{\"_index\":10,\"name\":{\"17\":{}},\"comment\":{}}],[\"debug\",{\"_index\":11,\"name\":{\"18\":{}},\"comment\":{}}],[\"descendants\",{\"_index\":18,\"name\":{\"31\":{}},\"comment\":{}}],[\"htmlmcelement\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"immediatestopped\",{\"_index\":24,\"name\":{\"40\":{},\"43\":{}},\"comment\":{}}],[\"mc\",{\"_index\":7,\"name\":{\"8\":{}},\"comment\":{}}],[\"mcbase\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"mcevent\",{\"_index\":19,\"name\":{\"34\":{}},\"comment\":{}}],[\"parent\",{\"_index\":15,\"name\":{\"28\":{}},\"comment\":{}}],[\"remove\",{\"_index\":13,\"name\":{\"20\":{}},\"comment\":{}}],[\"removelistener\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"stopimmediatepropagation\",{\"_index\":26,\"name\":{\"45\":{}},\"comment\":{}}],[\"stopped\",{\"_index\":23,\"name\":{\"39\":{},\"42\":{}},\"comment\":{}}],[\"stoppropagation\",{\"_index\":25,\"name\":{\"44\":{}},\"comment\":{}}],[\"target\",{\"_index\":6,\"name\":{\"6\":{},\"7\":{},\"15\":{},\"16\":{},\"32\":{},\"33\":{}},\"comment\":{}}],[\"trigger\",{\"_index\":8,\"name\":{\"9\":{},\"14\":{},\"21\":{},\"27\":{}},\"comment\":{}}],[\"type\",{\"_index\":22,\"name\":{\"38\":{},\"41\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
|
package/public/classes/DC.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<ul class="tsd-hierarchy">
|
|
23
23
|
<li><span class="target">DC</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
24
24
|
<ul>
|
|
25
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
25
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L329">src/MC.ts:329</a></li></ul></aside>
|
|
26
26
|
<section class="tsd-panel-group tsd-index-group">
|
|
27
27
|
<section class="tsd-panel tsd-index-panel">
|
|
28
28
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
</div></section>
|
|
35
35
|
<section class="tsd-index-section">
|
|
36
36
|
<h3 class="tsd-index-heading">Properties</h3>
|
|
37
|
-
<div class="tsd-index-list"><a href="DC.html#
|
|
38
|
-
<a href="DC.html#
|
|
37
|
+
<div class="tsd-index-list"><a href="DC.html#_target" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-1024-path"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)" id="icon-1024-text"></path></svg><span>#target</span></a>
|
|
38
|
+
<a href="DC.html#__mc" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-protected"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>__mc</span></a>
|
|
39
39
|
<a href="DC.html#add" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>add</span></a>
|
|
40
40
|
<a href="DC.html#debug" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>debug</span></a>
|
|
41
41
|
<a href="DC.html#remove" class="tsd-index-link tsd-kind-property tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>remove</span></a>
|
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
<section class="tsd-index-section">
|
|
50
50
|
<h3 class="tsd-index-heading">Methods</h3>
|
|
51
51
|
<div class="tsd-index-list"><a href="DC.html#ancestors" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>ancestors</span></a>
|
|
52
|
-
<a href="DC.html#autoAttachListeners" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>auto<wbr/>Attach<wbr/>Listeners</span></a>
|
|
53
52
|
<a href="DC.html#children" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>children</span></a>
|
|
54
53
|
<a href="DC.html#descendants" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>descendants</span></a>
|
|
55
54
|
<a href="DC.html#parent" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>parent</span></a>
|
|
@@ -70,46 +69,45 @@
|
|
|
70
69
|
<h4 class="tsd-returns-title">Returns <a href="DC.html" class="tsd-signature-type" data-tsd-kind="Class">DC</a></h4><aside class="tsd-sources">
|
|
71
70
|
<p>Overrides <a href="McBase.html">McBase</a>.<a href="McBase.html#constructor">constructor</a></p>
|
|
72
71
|
<ul>
|
|
73
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
72
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L333">src/MC.ts:333</a></li></ul></aside></li></ul></section></section>
|
|
74
73
|
<section class="tsd-panel-group tsd-member-group">
|
|
75
74
|
<h2>Properties</h2>
|
|
76
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited"><a id="
|
|
77
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#
|
|
78
|
-
<div class="tsd-signature">#
|
|
75
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited"><a id="_target" class="tsd-anchor"></a>
|
|
76
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#target</span><a href="#_target" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
77
|
+
<div class="tsd-signature">#target<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WeakRef</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
78
|
+
<p>Inherited from <a href="McBase.html">McBase</a>.<a href="McBase.html#_target">#target</a></p>
|
|
79
|
+
<ul>
|
|
80
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L216">src/MC.ts:216</a></li></ul></aside></section>
|
|
81
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a id="__mc" class="tsd-anchor"></a>
|
|
82
|
+
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>__mc</span><a href="#__mc" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
83
|
+
<div class="tsd-signature">__mc<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[key: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = {}</span></div>
|
|
79
84
|
<div class="tsd-type-declaration">
|
|
80
85
|
<h4>Type declaration</h4>
|
|
81
86
|
<ul class="tsd-parameters">
|
|
82
87
|
<li class="tsd-parameter-index-signature">
|
|
83
88
|
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></h5></li></ul></div><aside class="tsd-sources">
|
|
84
|
-
<p>Inherited from <a href="McBase.html">McBase</a>.<a href="McBase.html#__mc">#_mc</a></p>
|
|
85
|
-
<ul>
|
|
86
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/25cd260/src/MC.ts#L144">src/MC.ts:144</a></li></ul></aside></section>
|
|
87
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited"><a id="_target" class="tsd-anchor"></a>
|
|
88
|
-
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>#target</span><a href="#_target" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
89
|
-
<div class="tsd-signature">#target<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WeakRef</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
90
|
-
<p>Inherited from <a href="McBase.html">McBase</a>.<a href="McBase.html#_target">#target</a></p>
|
|
91
89
|
<ul>
|
|
92
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
90
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L331">src/MC.ts:331</a></li></ul></aside></section>
|
|
93
91
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="add" class="tsd-anchor"></a>
|
|
94
92
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>add</span><a href="#add" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
95
93
|
<div class="tsd-signature">add<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol"> = add</span></div><aside class="tsd-sources">
|
|
96
94
|
<ul>
|
|
97
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
95
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L339">src/MC.ts:339</a></li></ul></aside></section>
|
|
98
96
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="debug" class="tsd-anchor"></a>
|
|
99
97
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>debug</span><a href="#debug" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
100
98
|
<div class="tsd-signature">debug<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources">
|
|
101
99
|
<ul>
|
|
102
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
100
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L337">src/MC.ts:337</a></li></ul></aside></section>
|
|
103
101
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="remove" class="tsd-anchor"></a>
|
|
104
102
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>remove</span><a href="#remove" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
105
103
|
<div class="tsd-signature">remove<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol"> = remove</span></div><aside class="tsd-sources">
|
|
106
104
|
<ul>
|
|
107
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
105
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L340">src/MC.ts:340</a></li></ul></aside></section>
|
|
108
106
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="trigger" class="tsd-anchor"></a>
|
|
109
107
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <span>trigger</span><a href="#trigger" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
110
108
|
<div class="tsd-signature">trigger<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol"> = trigger</span></div><aside class="tsd-sources">
|
|
111
109
|
<ul>
|
|
112
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
110
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L341">src/MC.ts:341</a></li></ul></aside></section></section>
|
|
113
111
|
<section class="tsd-panel-group tsd-member-group">
|
|
114
112
|
<h2>Accessors</h2>
|
|
115
113
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="_mc" class="tsd-anchor"></a>
|
|
@@ -122,7 +120,7 @@
|
|
|
122
120
|
<li class="tsd-parameter-index-signature">
|
|
123
121
|
<h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">any</span></h5></li></ul><aside class="tsd-sources">
|
|
124
122
|
<ul>
|
|
125
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
123
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L343">src/MC.ts:343</a></li></ul></aside></li></ul></section>
|
|
126
124
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a id="target" class="tsd-anchor"></a>
|
|
127
125
|
<h3 class="tsd-anchor-link"><span>target</span><a href="#target" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
128
126
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
|
@@ -131,7 +129,7 @@
|
|
|
131
129
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources">
|
|
132
130
|
<p>Inherited from McBase.target</p>
|
|
133
131
|
<ul>
|
|
134
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
132
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L230">src/MC.ts:230</a></li></ul></aside></li></ul></section></section>
|
|
135
133
|
<section class="tsd-panel-group tsd-member-group">
|
|
136
134
|
<h2>Methods</h2>
|
|
137
135
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="ancestors" class="tsd-anchor"></a>
|
|
@@ -146,15 +144,7 @@
|
|
|
146
144
|
<h5>search: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></h5></li></ul></div>
|
|
147
145
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
148
146
|
<ul>
|
|
149
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
150
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="autoAttachListeners" class="tsd-anchor"></a>
|
|
151
|
-
<h3 class="tsd-anchor-link"><span>auto<wbr/>Attach<wbr/>Listeners</span><a href="#autoAttachListeners" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
152
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
153
|
-
<li class="tsd-signature tsd-anchor-link" id="autoAttachListeners.autoAttachListeners-1">auto<wbr/>Attach<wbr/>Listeners<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#autoAttachListeners.autoAttachListeners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
154
|
-
<li class="tsd-description">
|
|
155
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
156
|
-
<ul>
|
|
157
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/25cd260/src/MC.ts#L374">src/MC.ts:374</a></li></ul></aside></li></ul></section>
|
|
147
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L357">src/MC.ts:357</a></li></ul></aside></li></ul></section>
|
|
158
148
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="children" class="tsd-anchor"></a>
|
|
159
149
|
<h3 class="tsd-anchor-link"><span>children</span><a href="#children" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
160
150
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -167,7 +157,7 @@
|
|
|
167
157
|
<h5>search: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></h5></li></ul></div>
|
|
168
158
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
169
159
|
<ul>
|
|
170
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
160
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L363">src/MC.ts:363</a></li></ul></aside></li></ul></section>
|
|
171
161
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="descendants" class="tsd-anchor"></a>
|
|
172
162
|
<h3 class="tsd-anchor-link"><span>descendants</span><a href="#descendants" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
173
163
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -180,7 +170,7 @@
|
|
|
180
170
|
<h5>search: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></h5></li></ul></div>
|
|
181
171
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
182
172
|
<ul>
|
|
183
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
173
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L375">src/MC.ts:375</a></li></ul></aside></li></ul></section>
|
|
184
174
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="parent" class="tsd-anchor"></a>
|
|
185
175
|
<h3 class="tsd-anchor-link"><span>parent</span><a href="#parent" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
186
176
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -193,7 +183,7 @@
|
|
|
193
183
|
<h5>search: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></h5></li></ul></div>
|
|
194
184
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
195
185
|
<ul>
|
|
196
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
186
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L351">src/MC.ts:351</a></li></ul></aside></li></ul></section>
|
|
197
187
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="trigger-1" class="tsd-anchor"></a>
|
|
198
188
|
<h3 class="tsd-anchor-link"><span>trigger</span><a href="#trigger-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
199
189
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -210,7 +200,7 @@
|
|
|
210
200
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> bubble: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
211
201
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
212
202
|
<ul>
|
|
213
|
-
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/
|
|
203
|
+
<li>Defined in <a href="https://gitlab.com/twoBirds/microcomponents/-/blob/6e5722c/src/MC.ts#L347">src/MC.ts:347</a></li></ul></aside></li></ul></section></section></div>
|
|
214
204
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
215
205
|
<div class="tsd-navigation settings">
|
|
216
206
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -237,8 +227,8 @@
|
|
|
237
227
|
<li class="current tsd-kind-class"><a href="DC.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-128-path"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)" id="icon-128-text"></path></svg><span>DC</span></a>
|
|
238
228
|
<ul>
|
|
239
229
|
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="DC.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-512-path"></use><use href="#icon-512-text"></use></svg>constructor</a></li>
|
|
240
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited"><a href="DC.html#__mc" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>#_<wbr/>mc</a></li>
|
|
241
230
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-inherited"><a href="DC.html#_target" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>#target</a></li>
|
|
231
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="DC.html#__mc" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>__mc</a></li>
|
|
242
232
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="DC.html#add" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>add</a></li>
|
|
243
233
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="DC.html#debug" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>debug</a></li>
|
|
244
234
|
<li class="tsd-kind-property tsd-parent-kind-class"><a href="DC.html#remove" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>remove</a></li>
|
|
@@ -246,7 +236,6 @@
|
|
|
246
236
|
<li class="tsd-kind-accessor tsd-parent-kind-class"><a href="DC.html#_mc" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>_mc</a></li>
|
|
247
237
|
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="DC.html#target" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-262144-path"></use><use href="#icon-262144-text"></use></svg>target</a></li>
|
|
248
238
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="DC.html#ancestors" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>ancestors</a></li>
|
|
249
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="DC.html#autoAttachListeners" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>auto<wbr/>Attach<wbr/>Listeners</a></li>
|
|
250
239
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="DC.html#children" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>children</a></li>
|
|
251
240
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="DC.html#descendants" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>descendants</a></li>
|
|
252
241
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="DC.html#parent" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>parent</a></li>
|