@endorphinjs/template-runtime
Advanced tools
Comparing version 0.6.5 to 0.6.6
@@ -9,2 +9,3 @@ import { Injector } from './injector'; | ||
export declare type StaticEventHandler = (evt: Event) => void; | ||
export declare type PluginFactory = <C extends Component>(component: C) => ComponentDefinition[] | undefined; | ||
export interface AttachedStaticEvents { | ||
@@ -51,2 +52,4 @@ handler: StaticEventHandler; | ||
definition: ComponentDefinition; | ||
/** Plugins attached to current component, including current component definition */ | ||
plugins: ComponentDefinition[]; | ||
/** Injector for incoming component data */ | ||
@@ -89,4 +92,4 @@ input: Injector; | ||
extend?: object; | ||
/** List of plugins for current component */ | ||
plugins?: ComponentDefinition[]; | ||
/** List of plugins for current component of factory method for producing plugins */ | ||
plugins?: ComponentDefinition[] | PluginFactory; | ||
/** A scope token to be added for every element, created inside current component bound */ | ||
@@ -93,0 +96,0 @@ cssScope?: string; |
import { Component } from './component'; | ||
import { Data } from './types'; | ||
declare type StoreUpdateHandler = (state: any, changes: object) => void; | ||
interface StoreUpdateEntry { | ||
export interface StoreUpdateEntry { | ||
keys?: string[]; | ||
@@ -6,0 +6,0 @@ component?: Component; |
{ | ||
"name": "@endorphinjs/template-runtime", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"description": "EndorphinJS template runtime, embedded with template bundles", | ||
@@ -26,3 +26,3 @@ "main": "./dist/runtime.cjs.js", | ||
"devDependencies": { | ||
"@endorphinjs/template-compiler": "^0.6.4", | ||
"@endorphinjs/template-compiler": "^0.6.6", | ||
"@types/mocha": "^5.2.7", | ||
@@ -53,3 +53,3 @@ "@types/node": "^12.11.1", | ||
}, | ||
"gitHead": "5b9466da1654fe445d28c8a108fb7eab858de9ad" | ||
"gitHead": "2506db6bf1207944cd0abe1e6a8c869ae16572d7" | ||
} |
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
458324
5417