Search
Preparing search index...
The search index is not available
StoreFront
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
@storefront/core
UrlService
Class UrlService
Hierarchy
BaseService
<
Options
>
UrlService
Implements
Service
Index
Interfaces
History
Options
Routes
Url
State
Functions
Type aliases
Url
State
Function
Constructors
constructor
Properties
app
beautifier
history
opts
get
Base
Path
Accessors
initial
Url
push
State
replace
State
Methods
build
generate
Routes
history
Listener
init
parse
rewind
Object literals
url
State
Type aliases
Static
Url
State
Function
Url
State
Function
:
function
Type declaration
(
state
:
any
)
:
any
Parameters
state:
any
Returns
any
Constructors
constructor
new
Url
Service
(
app
:
StoreFront
, opts
:
Options
)
:
UrlService
Parameters
app:
StoreFront
opts:
Options
Returns
UrlService
Properties
Protected
app
app
:
StoreFront
beautifier
beautifier
:
SimpleBeautifier
history
history
:
History
Protected
opts
opts
:
Options
Static
get
Base
Path
get
Base
Path
:
getBasePath
= Utils.getBasePath
Accessors
initial
Url
get
initialUrl
(
)
:
string
Returns
string
push
State
get
pushState
(
)
:
(Anonymous function)
Returns
(Anonymous function)
replace
State
get
replaceState
(
)
:
(Anonymous function)
Returns
(Anonymous function)
Methods
build
build
(
route
:
string
, state
:
State
)
:
any
Parameters
route:
string
state:
State
Returns
any
generate
Routes
generate
Routes
(
)
:
any
Returns
any
history
Listener
history
Listener
(
cb
:
function
)
:
void
Parameters
cb:
function
(
e
:
PopStateEvent
)
:
void
Parameters
e:
PopStateEvent
Returns
void
Returns
void
init
init
(
)
:
void
Returns
void
parse
parse
(
url
:
string
)
:
Promise
<
object
>
Parameters
url:
string
Returns
Promise
<
object
>
rewind
rewind
(
event
:
PopStateEvent
)
:
void
Parameters
event:
PopStateEvent
Returns
void
Object literals
url
State
url
State
:
object
details
details
:
detailsUrlState
= Utils.detailsUrlState
navigation
navigation
:
navigationUrlState
= Utils.navigationUrlState
pastpurchase
pastpurchase
:
pastPurchaseUrlState
= Utils.pastPurchaseUrlState
search
search
:
searchUrlState
= Utils.searchUrlState
Globals
@storefront/core
Beautifier
Factory
Configuration
Globals
Phase
Product
Transformer
Props
Provide
Consume
Pure
Selectors
Service
Structure
Tag
Utils
Url
Utils
Utils
@storefront/breadcrumbs
@storefront/collections
@storefront/core
Url
Service
History
Options
Routes
Url
State
Functions
Url
State
Function
constructor
app
beautifier
history
opts
get
Base
Path
initial
Url
push
State
replace
State
build
generate
Routes
history
Listener
init
parse
rewind
url
State
@storefront/details
@storefront/did-
you-
mean
@storefront/flux-
capacitor
@storefront/infinite-
scroll
@storefront/navigation
@storefront/page-
size
@storefront/paging
@storefront/products
@storefront/query
@storefront/recommendations
@storefront/record-
count
@storefront/related-
queries
@storefront/sayt
@storefront/sort
@storefront/structure
@storefront/template
Generated using
TypeDoc