There are multiple ways to install page.js. With package managers. Setup redirect from one path to another. Calling page.redirect with only a string as the first parameter redirects to another route. Waits for the current route to push state and after replaces it with the new one leaving the browser history clean. If you're doing selective binding you'll like want to pass { click: false } to specify this yourself. Exit routes are called when a page changes, using the context from the previous change. Create a new page instance with the given options. Use this if you need to control multiple windows (like iframes or popups) in addition to the main window. The router uses the same string-to-regexp conversion that Express does, so things like ":id", ":id?", and "*" work as you might expect.

Features

  • Has the ability to pass multiple callbacks
  • Flatten nested callbacks, or simply to abstract components
  • page.js has a single "Context" object
  • Omits queries when a user presses back
  • It works in older version of Internet Explorer that don't support pushState
  • Configure your environment to point to your project's main file

Project Samples

Project Activity

See All Activity >

Categories

Router

License

MIT License

Follow page.js

page.js Web Site

Other Useful Business Software
AestheticsPro Medical Spa Software Icon
AestheticsPro Medical Spa Software

Our new software release will dramatically improve your medspa business performance while enhancing the customer experience

AestheticsPro is the most complete Aesthetics Software on the market today. HIPAA Cloud Compliant with electronic charting, integrated POS, targeted marketing and results driven reporting; AestheticsPro delivers the tools you need to manage your medical spa business. It is our mission To Provide an All-in-One Cutting Edge Software to the Aesthetics Industry.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of page.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Router Firmware

Registered

2021-07-29