Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
General documentation
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Documentation
General documentation
Commits
bcc26d3f
Commit
bcc26d3f
authored
3 years ago
by
Manon Bourgognon
Browse files
Options
Downloads
Patches
Plain Diff
view-title, view-description, keep-url attr
parent
e8ba868b
No related branches found
No related tags found
2 merge requests
!76
Dev to Master
,
!72
view-title, view-description, keep-url attr
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/import_documentation/Components/Solid-Router.rst
+8
-1
8 additions, 1 deletion
source/import_documentation/Components/Solid-Router.rst
with
8 additions
and
1 deletion
source/import_documentation/Components/Solid-Router.rst
+
8
−
1
View file @
bcc26d3f
...
...
@@ -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
----------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment