trait Hooks extends Object
- Annotations
- @JSType() @native()
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Hooks
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def toLocaleString(): String
- Definition Classes
- Object
- def useBlocker(blocker: Function1[UnblockingTx, Unit], when: UndefOr[Boolean] = js.undefined): Unit
- def useHref[S](to: |[LocationInit[S], String]): String
- def useLocation[S](): Location[S]
Should not need to use this according to docs.
- def useMatch[S](to: |[LocationInit[S], String]): Boolean
Use this to avoid Route entries everywhere.
- def useNavigate[S](): NavigateAction[S]
- def useOutlet(): ReactNode
- def useParams[P](): P
- def useResolvedLocation[S](to: |[LocationInit[S], String]): Location[S]
- def useRoutes(routes: RouteSpec, basename: UndefOr[String] = js.undefined, caseSensitive: UndefOr[Boolean] = js.undefined): ReactNode
- def valueOf(): Any
- Definition Classes
- Object