defaultkavy
8817e5da1b
initial repository. changes: $View.events add 'beforeSwitch' and 'afterSwitch' events. update: $View.switch() will fire event before replacing content. new: add $View.currentContent for getting current view content.
12 lines
265 B
TypeScript
12 lines
265 B
TypeScript
import 'elexis';
|
|
import { $View } from './lib/$View';
|
|
declare module 'elexis' {
|
|
export namespace $ {
|
|
export interface TagNameElementMap {
|
|
'view': typeof $View;
|
|
}
|
|
}
|
|
}
|
|
$.registerTagName('view', $View)
|
|
|
|
export * from './lib/$View'; |