1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2026-06-01 16:17:20 +02:00

Add on.disconnectedAsAbort(), pushRoot() to scope (and 🐛 pop)

This commit is contained in:
2023-11-17 14:48:11 +01:00
parent 5008b56ac8
commit 40780bd61f
11 changed files with 69 additions and 52 deletions
+15 -14
View File
File diff suppressed because one or more lines are too long
Vendored
+13 -12
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -139,6 +139,8 @@ export const scope: {
state: Scope[],
/** Adds new child scope. All attributes are inherited by default. */
push(scope: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
/** Adds root scope as a child of the current scope. */
pushRoot(): ReturnType<Array<Scope>["push"]>,
/** Removes last/current child scope. */
pop(): ReturnType<Array<Scope>["pop"]>,
};
+4 -4
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -139,6 +139,8 @@ export const scope: {
state: Scope[],
/** Adds new child scope. All attributes are inherited by default. */
push(scope: Partial<Scope>): ReturnType<Array<Scope>["push"]>,
/** Adds root scope as a child of the current scope. */
pushRoot(): ReturnType<Array<Scope>["push"]>,
/** Removes last/current child scope. */
pop(): ReturnType<Array<Scope>["pop"]>,
};
Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long