FCF 2.0 development in progress...
> > > > > >
[News] [JS Packages API] [JS Downloads] [Donate to the project] [Contacts]

args from class fcf.RouteInfo

Property: args

Type: object

Class: fcf.RouteInfo

Package: fcf-framework-core

File: fcf.js

Available from version: 2.0.2

Query POST and GET arguments with conversion to JS types

Example:

let ri = new fcf.RouteInfo("http://localhost:8080/index.html?q1=value1&q2=%7B%22k1%22%3A1%7D#ancor_value"); console.log(ri.args);

Output:

{ q1: 'value1', q2: { k1: 1 } }