frint-router-component-handlers v5.7.2
frint-router-component-handlers
Router component handlers package of Frint
Guide
This package is aimed at enabling other reactive rendering/templating libraries integrate with FrintJS router, and not to be used directly by developers in their applications.
For example, take a look at frint-router-react for its implementation using this package internally.
Installation
With npm:
$ npm install --save frint-router-component-handlersAPI
createLinkHandler
createLinkHandler(ComponentHandler, app, component)
Method for creating handler for Link component.
Arguments
ComponentHandler(Object): framework specific component handler implementing common API to work withcomponentapp(Object): app instancecomponent(Object):Linkcomponent instance
createRouteHandler
createRouteHandler(ComponentHandler, app, component)
Method for creating handler for Route component.
Arguments
ComponentHandler(Object): framework specific component handler implementing common API to work withcomponentapp(Object): app instancecomponent(Object):Routecomponent instance
createSwitchHandler
createSwitchHandler(ComponentHandler, app, component)
Method for creating handler for Switch component.
Arguments
ComponentHandler(Object): framework specific component handler implementing common API to work withcomponentapp(Object): app instancecomponent(Object):Switchcomponent instance
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago