3.0.0 • Published 18 days ago
merak-helper v3.0.0
merak-helper
Used in subapplications
type MerakEvent = 'mount' | 'destroy' | 'hidden' | 'unmount' | 'relunch' | 'show'
declare const isMerak: boolean
declare function $window(): Window
declare function $document(): Document
declare function $history(): History
declare function $location(): Location
declare function getInstance(id: string): any
declare function $jump(project: string, to: string): void
declare function $eventName(event: string): string
declare function $base(): string
declare function $body(): HTMLElement
declare function $head(): HTMLHeadElement
declare function $on(eventName: MerakEvent, cb: (flag?: string) => any): () => void
declare function $once(eventName: MerakEvent, cb: (flag?: string) => any): () => void
declare function $onMount(cb: (flag?: string) => any): any
declare function $onUnmount(cb: (flag?: 'destroy' | string) => any): () => void
declare function $sandbox(script: string): string
declare function $esm(script: string): string
declare function $instance(): Merak<merak_core.Loader>
declare function $props(): Props
declare function $props<K extends keyof Props>(key: string): Props[K]
declare function $namespace(): NameSpace
declare function $namespace<K extends keyof NameSpace>(key: string): NameSpace[K]
declare function $perf(): merak_core.Perf
declare function $stopBubble(isPass?: boolean): void
declare function $deactive(): void
declare function $destroy(): void
3.0.0
18 days ago
2.0.2
5 months ago
2.0.1
6 months ago
2.0.0
8 months ago
2.0.0-alpha.0
8 months ago
2.0.0-alpha.1
8 months ago
1.0.1
10 months ago
1.0.0
10 months ago
1.0.0-rc.9
12 months ago
1.0.0-rc.8
12 months ago
1.0.0-rc.13
12 months ago
1.0.0-rc.12
12 months ago
1.0.0-rc.11
12 months ago
1.0.0-rc.10
12 months ago
1.0.0-rc.14
10 months ago
1.0.0-rc.7
1 year ago
1.0.0-rc.6
1 year ago
1.0.0-rc.5
1 year ago
1.0.0-rc.4
1 year ago
1.0.0-rc.3
1 year ago
1.0.0-rc.2
1 year ago
1.0.0-rc.1
1 year ago
1.0.0-rc.0
1 year ago