debut des details de la page. Vu que c'est le troisieme (euh quatrieme?) composant, c'etait un peu plus rapide, mais heureusement que claude est la pour repasser derriere mes erreurs prcq en solo je n'y arriverais pas du tout!
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
import { RiotComponentWrapper, RiotComponent } from 'riot'
|
||||
import { URLWithParams } from 'rawth'
|
||||
|
||||
export * from 'rawth'
|
||||
|
||||
export declare const Route: RiotComponentWrapper<
|
||||
RiotComponent<{
|
||||
path: string
|
||||
'on-before-mount'?: (path: URLWithParams) => void
|
||||
'on-mounted'?: (path: URLWithParams) => void
|
||||
'on-before-unmount'?: (path: URLWithParams) => void
|
||||
'on-unmounted'?: (path: URLWithParams) => void
|
||||
}>
|
||||
>
|
||||
|
||||
export declare const Router: RiotComponentWrapper<
|
||||
RiotComponent<{
|
||||
base?: string
|
||||
'initial-route'?: string
|
||||
'on-started'?: (route: string) => void
|
||||
}>
|
||||
>
|
||||
|
||||
export declare function getCurrentRoute(): string
|
||||
export declare function initDomListeners(): void
|
||||
export declare function setBase(base: string): void
|
||||
Reference in New Issue
Block a user