Add js web stuff to landing page + documentation
This commit is contained in:
10
go/jsruntime/runtime/@solidjs/router/dist/routers/createRouter.d.ts
vendored
Normal file
10
go/jsruntime/runtime/@solidjs/router/dist/routers/createRouter.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { LocationChange, RouterContext, RouterUtils } from "../types.js";
|
||||
export declare function createRouter(config: {
|
||||
get: () => string | LocationChange;
|
||||
set: (next: LocationChange) => void;
|
||||
init?: (notify: (value?: string | LocationChange) => void) => () => void;
|
||||
create?: (router: RouterContext) => void;
|
||||
utils?: Partial<RouterUtils>;
|
||||
}): (props: import("./components.js").BaseRouterProps) => import("solid-js").JSX.Element;
|
||||
export declare function bindEvent(target: EventTarget, type: string, handler: EventListener): () => void;
|
||||
export declare function scrollToHash(hash: string, fallbackTop?: boolean): void;
|
||||
Reference in New Issue
Block a user