Skip to content
Snippets Groups Projects
Commit a3cc357a authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

Merge branch 'required-mixin' into 'dev'

Required-mixin doc added

See merge request documentation/doc!25
parents 96b1e85e 5fb64d26
No related branches found
No related tags found
No related merge requests found
.. _required-mixin:
required-mixin
===============
The required mixin is a post-processor mixin, compatible with list-mixin.
It provides the ability to display a list of resources according to the property/-ies its possess.
Used by:
--------
* :ref:`solid-display <solid-display>`
Attributes
----------
``required-xyz``
~~~~~~~~~~~~~~~~
The attribute takes no value. ``xyz`` represents the mandatory property of resources to be displayed.
In this example, users must have email to be dislayed.
.. code:: html
<solid-display
data-src=http://server/users/"
fields="username"
required-email
></solid-display>
It is possible to combine this mixin twice, ``required-uvw`` and ``required-xyz``.
\ No newline at end of file
......@@ -57,6 +57,7 @@ Welcome to Startinblox's documentation
import_documentation/Mixins/paginate-mixin
import_documentation/Mixins/sorter-mixin
import_documentation/Mixins/highlighter-mixin
import_documentation/Mixins/required-mixin
import_documentation/Mixins/next-mixin
.. toctree::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment