parent
1e5e65cada
commit
bc2b3c5fdc
1 changed files with 7 additions and 0 deletions
7
mithril.d.ts
vendored
7
mithril.d.ts
vendored
|
|
@ -258,6 +258,13 @@ declare namespace Mithril {
|
|||
*/
|
||||
param(key: string): string;
|
||||
|
||||
/**
|
||||
* Gets all route parameters.
|
||||
*
|
||||
* @return All route parameters.
|
||||
*/
|
||||
param(): Object;
|
||||
|
||||
/**
|
||||
* The current routing mode. This may be changed before calling
|
||||
* m.route to change the part of the URL used to perform the routing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue