foundation.collection.action.action: foundation.pushstate¶
foundation.pushstate
is an action of foundation-collection-action.
When the action is triggered, it will call foundation-content’s pushState(), with the following parameters:
- data
- The value of
config.data.data
. - title
- The value of
config.data.title
. - url
The URL expanded from URI Template of
config.data.href
The URI Template is expanded using variables satisfying the following interface:
interface FoundationCollectionActionFoundationPushstateVariables { /** * The array of values of <code>data-foundation-collection-item-id</code> attribute of the given <code>selections</code> parameter. */ item: string[] }