5.7.2 • Published 7 years ago

frint-router-component-handlers v5.7.2

Weekly downloads
226
License
MIT
Repository
github
Last release
7 years ago

frint-router-component-handlers

npm

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-handlers

API

createLinkHandler

createLinkHandler(ComponentHandler, app, component)

Method for creating handler for Link component.

Arguments

  1. ComponentHandler (Object): framework specific component handler implementing common API to work with component
  2. app (Object): app instance
  3. component (Object): Link component instance

createRouteHandler

createRouteHandler(ComponentHandler, app, component)

Method for creating handler for Route component.

Arguments

  1. ComponentHandler (Object): framework specific component handler implementing common API to work with component
  2. app (Object): app instance
  3. component (Object): Route component instance

createSwitchHandler

createSwitchHandler(ComponentHandler, app, component)

Method for creating handler for Switch component.

Arguments

  1. ComponentHandler (Object): framework specific component handler implementing common API to work with component
  2. app (Object): app instance
  3. component (Object): Switch component instance
5.7.2

7 years ago

5.7.1

7 years ago

5.7.0

7 years ago

5.6.1

7 years ago

5.6.0

7 years ago

5.5.0

7 years ago

5.4.5

7 years ago

5.4.4

7 years ago

5.4.3

7 years ago

5.4.2

7 years ago

5.4.1

7 years ago

5.4.0

7 years ago

5.3.0

7 years ago

5.2.1

8 years ago

5.2.0

8 years ago

5.1.1

8 years ago

5.1.0

8 years ago

5.0.1

8 years ago

5.0.0

8 years ago

4.2.0

8 years ago

4.1.0

8 years ago

4.0.0

8 years ago

3.3.1

8 years ago

3.3.0

8 years ago

3.2.1

8 years ago

3.2.0

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago