@micro-zoe/micro-app
Advanced tools
Comparing version 1.0.0-rc.1 to 1.0.0-rc.2
@@ -312,3 +312,17 @@ /// <reference path="../typings/global.d.ts" /> | ||
export function execMicroAppGlobalHook(fn: Func | null, appName: string, hookName: string, ...args: unknown[]): void; | ||
/** | ||
* remove all childNode from target node | ||
* @param $dom target node | ||
*/ | ||
export function clearDOM($dom: HTMLElement | ShadowRoot | Document): void; | ||
type BaseHTMLElementType = HTMLElement & { | ||
new (): HTMLElement; | ||
prototype: HTMLElement; | ||
}; | ||
/** | ||
* get HTMLElement from base app | ||
* @returns HTMLElement | ||
*/ | ||
export function getBaseHTMLElement(): BaseHTMLElementType; | ||
export {}; | ||
} | ||
@@ -315,0 +329,0 @@ |
{ | ||
"name": "@micro-zoe/micro-app", | ||
"version": "1.0.0-rc.1", | ||
"version": "1.0.0-rc.2", | ||
"description": "A lightweight, efficient and powerful micro front-end framework", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -352,2 +352,3 @@ declare module '@micro-app/types' { | ||
getRootElementParentNode?: (node: Node, appName: AppName) => void | ||
customProxyDocumentProps?: Map<string | number | symbol, (value: unknown) => void> | ||
} | ||
@@ -354,0 +355,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2129211
10092