@base-framework/base 3.0.181 → 3.0.184

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.
@@ -1 +1 @@
1
- export function Jot(layout: object | Function): Function | object;
1
+ export function Jot(layout: object | Function, extend?: object): Function | object;
@@ -51,6 +51,13 @@ export class Builder {
51
51
  * @returns {object}
52
52
  */
53
53
  static createNode(settings: object, container: object, parent: object): object;
54
+ /**
55
+ * This will remove a node.
56
+ *
57
+ * @param {object} node
58
+ * @returns {void}
59
+ */
60
+ static removeNode(node: object): void;
54
61
  /**
55
62
  * This will remove all children from an element.
56
63
  *
@@ -1,5 +1,6 @@
1
1
  export function cache(ele: object, propName: string, parent: object): void;
2
2
  export function useParent(ele: object, callBack: Function, parent: object): void;
3
+ export function getId(ele: object, name: string, parent: object): void;
3
4
  export function useData(ele: object, callBack: Function, parent: object): void;
4
5
  export function useState(ele: object, callBack: Function, parent: object): void;
5
6
  export function addState(ele: object, callBack: Function, parent: object): void;
@@ -33,6 +33,13 @@ export class Render {
33
33
  * @returns {void}
34
34
  */
35
35
  setDirectives(ele: object, directives: any[], parent: object): void;
36
+ /**
37
+ * This will remove a node.
38
+ *
39
+ * @param {object} node
40
+ * @returns {void}
41
+ */
42
+ removeNode(node: object): void;
36
43
  /**
37
44
  * This will remove all the children from an element.
38
45
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.181",
3
+ "version": "3.0.184",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",