vue-easter-egg-trigger
Advanced tools
Comparing version 0.1.14 to 0.1.15
{ | ||
"name": "vue-easter-egg-trigger", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "This packages makes it nice and easy to add Easter Egg triggers to your Vue site.", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-easter-egg-trigger.js", |
@@ -1,1 +0,30 @@ | ||
declare module 'vue-easter-egg-trigger'; | ||
import Vue, { PluginObject, ComponentOptions, AsyncComponent } from 'vue' | ||
export declare interface VueEasterEggTriggerOptions { | ||
componentName?: string | ||
dialog?: boolean | ||
dynamicDefaults?: object | ||
} | ||
declare const VueEasterEggTrigger: PluginObject<VueEasterEggTriggerOptions> | ||
declare interface VEasterEggTrigger { | ||
show(name: string, params?: object): void | ||
show( | ||
component: typeof Vue | ComponentOptions<Vue> | AsyncComponent, | ||
componentProps?: object, | ||
modalProps?: object, | ||
modalEvents?: object | ||
): void | ||
hide(name: string, params?: object): void | ||
hideAll(): void | ||
toggle(name: string, params?: object): void | ||
} | ||
declare module 'vue/types/vue' { | ||
interface Vue { | ||
$modal: VEasterEggTrigger | ||
} | ||
} | ||
export default VueEasterEggTrigger; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242015
3913