Comparing version 4.1.1 to 4.1.2
@@ -46,3 +46,3 @@ { | ||
}, | ||
"version": "4.1.1" | ||
"version": "4.1.2" | ||
} |
@@ -7,6 +7,35 @@ export const vdom: any; | ||
export const emit: (elem: any, eventName: string, eventOptions?:any) => boolean; | ||
export const emit: (elem: any, eventName: string, eventOptions?: any) => boolean; | ||
export class Component extends HTMLElement {} | ||
export class Component extends HTMLElement { | ||
// Custom Elements v1 | ||
connectedCallback(): void; | ||
disconnectedCallback(): void; | ||
attributeChangedCallback(name: string, oldValue: null | string, newValue: null | string): void; | ||
adoptedCallback?(): void; | ||
// SkateJS | ||
static readonly props: { [nameOrSymbol: string]: PropOptions }; | ||
static readonly observedAttributes: string[]; | ||
updatedCallback(previousProps: { [nameOrSymbol: string]: any }): boolean; | ||
renderCallback(): any; | ||
renderedCallback(): void; | ||
// DEPRECATED | ||
static created?(elem: Component): void; | ||
// DEPRECATED | ||
static attached?(elem: Component): void; | ||
// DEPRECATED | ||
static detached?(elem: Component): void; | ||
// DEPRECATED | ||
static attributeChanged?(elem: Component, data: { name: string, oldValue: null | string, newValue: null | string }): void; | ||
// DEPRECATED | ||
static updated(elem: Component, prevProps: { [nameOrSymbol: string]: any }): boolean; | ||
// DEPRECATED | ||
static render?(elem: Component): any | undefined; | ||
// DEPRECATED | ||
static rendered(elem: Component): void; | ||
} | ||
export function define<C>(name: string, component: C): C; | ||
@@ -18,3 +47,3 @@ | ||
constructor?(elem: Component & Proto & Props): any; | ||
updatedCallback?(elem: Component & Proto & Props, prevProps: { [name: string]: any }): boolean | undefined; | ||
updatedCallback?(elem: Component & Proto & Props, prevProps: { [name: string]: any }): boolean; | ||
renderCallback?(elem: Component & Proto & Props): () => any | undefined; | ||
@@ -24,3 +53,3 @@ renderedCallback?(elem: Component & Proto & Props): any; | ||
disconnectedCallback?(elem: Component & Proto & Props): any; | ||
attributeChangedCallback?(elem: Component & Proto & Props, data: { name: string, oldValue: any, newValue: any }): any; | ||
attributeChangedCallback?(elem: Component & Proto & Props, data: { name: string, oldValue: null | string, newValue: null | string }): any; | ||
observedAttributes?: string[]; | ||
@@ -27,0 +56,0 @@ }): { new(...args: any[]): Component & Proto & Props }; |
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
768165
5431