@ribajs/router
Version:
Routing extension for Riba.js inspired by Barba.js
18 lines (16 loc) • 662 B
text/typescript
import type { JsxHtmlGlobalProps, JSXComponentBoolean } from "@ribajs/jsx";
export interface JsxRouterViewProps extends JsxHtmlGlobalProps {
id?: string;
action?: "replace" | "append";
"container-selector"?: string;
"scroll-to-top"?: JSXComponentBoolean;
"listen-all-links"?: JSXComponentBoolean;
"listen-popstate"?: JSXComponentBoolean;
"scroll-to-anchor-hash"?: JSXComponentBoolean;
"scroll-to-anchor-offset"?: JSXComponentBoolean;
"dataset-to-root-scope"?: JSXComponentBoolean;
"parse-title"?: JSXComponentBoolean;
"change-browser-url"?: JSXComponentBoolean;
"prefetch-links"?: JSXComponentBoolean;
disable?: JSXComponentBoolean;
}