Skip to content

Modularizing Interfy

Latest
Compare
Choose a tag to compare
@DenisPower1 DenisPower1 released this 14 Nov 11:13
· 24 commits to main since this release
3a0052d

This version divided the Interfy into two versions:

  • The global version => The constructor is availabe globally.

  • The modularized version => The constructor must be imported, using the ECMASCRIPT 6 module.

    And

The parameter of the route's handler, will be an unique object that will have two properties:

  • var : This property is an object whose its properties will be the name of the route's variables. If there's no variable, it will be an empty object.
  • param : This property is an object whose it's properties will be the name of the route's queryString parameters. If there's no queryString, it will be a empty object.