foundation.collection.action.action: foundation.pushstate ========================================================= ``foundation.pushstate`` is an :ref:`action of foundation-collection-action `. When the action is triggered, it will call :doc:`foundation-content <../../../content/index>`’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: .. code-block:: ts interface FoundationCollectionActionFoundationPushstateVariables { /** * The array of values of data-foundation-collection-item-id attribute of the given selections parameter. */ item: string[] } Relationship Graph ------------------ .. graphviz:: digraph "foundation-collection" { rankdir=BT; "foundation-selections" -> "foundation-collection" [label="extends", weight=8]; "foundation-collection-action" -> "foundation-selections" [label="reacts to"]; "foundation.dialog" -> "foundation-collection-action" [label="provides action to"]; "foundation.link" -> "foundation-collection-action" [label="provides action to"]; "foundation.pushstate" -> "foundation-collection-action" [label="provides action to"]; }