document vdom arg in config
This commit is contained in:
parent
6a9bfdca88
commit
aa541bff79
2 changed files with 8 additions and 4 deletions
2
mithril.d.ts
vendored
2
mithril.d.ts
vendored
|
|
@ -68,7 +68,7 @@ declare module _mithril {
|
|||
|
||||
// Configuration function for an element
|
||||
interface MithrilElementConfig {
|
||||
(element: Element, isInitialized: boolean, context?: any): void;
|
||||
(element: Element, isInitialized: boolean, context?: any, vdom: MithrilVirtualElement): void;
|
||||
}
|
||||
|
||||
// Attributes on a virtual element
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue