diff --git a/source/import_documentation/Components/Solid-Router.rst b/source/import_documentation/Components/Solid-Router.rst index 80e3b9c2a8b78dfa038bd37f58f86f0bf130fada..c038e83d42d65d4ec4bf20aeaec1b0f4bbbd9a0a 100644 --- a/source/import_documentation/Components/Solid-Router.rst +++ b/source/import_documentation/Components/Solid-Router.rst @@ -53,12 +53,13 @@ Displays a menu and handle the navigation for you. - ``use-hash``: If you can't rewrite the URLs on your server, you might want to set this attribute to use ``location.hash`` instead of ``location.pathname`` as URLs. +- ``keep-url``: It freezes the URL of all the ``<solid-route>`` included. Usefull to freeze the URL when a pop-up is displayed. ``<solid-route>`` attributes: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ``use-id``: indicates that the route takes an id. -- ``name``: The name of the route. Must match the id of the view +- ``name``: The name of the route. Must match the ``data-view`` of the view that is to be displayed. The same name is used as a url identifier as well. - ``rdf-type``: Can be used as an alternative of ``name``. The @@ -68,6 +69,12 @@ Displays a menu and handle the navigation for you. ``<solid-router>``. It is automatically added/removed by ``<solid-router>`` and should not be tinkered manually. +``<div data-view=[name]>`` attributes: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- ``view-title``: allows to choose the ``<title>`` content of each `data-view` (of each "page"). +- ``view-description``: allows to choose the value of ``content`` attribute in ``<meta name="description">`` tag. + solid-link ----------