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

referer property from fcf.RouteInfo class

string referer

Class: fcf.RouteInfo

File: fcf-framework-core:fcf.js

Available from version: 2.0.2

URL without arguments and anchor

Example:

let ri = new fcf.RouteInfo("http://localhost:8080/index.html?q=value1#ancor_value"); console.log(ri.referer)

Output:

http://localhost:8080/index.html