diff --git a/source/import_documentation/Components/Solid-Map.rst b/source/import_documentation/Components/Solid-Map.rst index 028a5c97dc8f89fe05b9e7af64af8db75c16cd7d..1e02551165f21dd24640e76568624a30a037942b 100644 --- a/source/import_documentation/Components/Solid-Map.rst +++ b/source/import_documentation/Components/Solid-Map.rst @@ -50,6 +50,12 @@ added to interact with the list of data being displayed. ~~~~~~~~~~ List of the fields to display in a popup which opens when a marker is clicked. If the attribute is not defined, no popup will show up. +``clustering`` +~~~~~~~~~~~~~~ + *Available from version 0.16* + + If this attribute is defined, markers spacially close are grouped in clusters. + Events ------- diff --git a/source/import_documentation/Components/Solid-Router.rst b/source/import_documentation/Components/Solid-Router.rst index 72a96697c00e0a6aee1d3aa51287eb2cde900fa6..80e3b9c2a8b78dfa038bd37f58f86f0bf130fada 100644 --- a/source/import_documentation/Components/Solid-Router.rst +++ b/source/import_documentation/Components/Solid-Router.rst @@ -76,6 +76,10 @@ solid-link - ``next``: The ``name`` attribute of the ``<solid-route>`` you want to access. +- ``data-src``: The resource you want to use in your view. Often + used to show more details about this resource, by adding the + ``bind-resource`` attribute to a component. + Example: .. code:: html diff --git a/source/import_documentation/Mixins/widget-mixin.rst b/source/import_documentation/Mixins/widget-mixin.rst index bad67b609b2a6c9fcd621b6a730247e732a363f1..06afbdd78853c5c99b0ec9e4d6adf79e8d0ff4db 100644 --- a/source/import_documentation/Mixins/widget-mixin.rst +++ b/source/import_documentation/Mixins/widget-mixin.rst @@ -71,7 +71,7 @@ Attributes ``default-[field]`` ~~~~~~~~~~~~~~~~~~~ - Value displayed for ``[field]`` when it’s empty or not defined + Value displayed for ``[field]`` when it’s empty or not defined. ``widget-[field]`` ~~~~~~~~~~~~~~~~~~ @@ -95,11 +95,11 @@ Attributes ``label-[field]`` ~~~~~~~~~~~~~~~~~ - Set the label for the ``[field]`` + Set the label for the ``[field]``. ``placeholder-[field]`` ~~~~~~~~~~~~~~~~~~~~~~~ - Set the placeholder for the ``[field]`` + Set the placeholder for the ``[field]``. ``class-[field]`` ~~~~~~~~~~~~~~~~~ @@ -126,6 +126,11 @@ Attributes editable-name ></solid-display> +``alt-[field]`` +~~~~~~~~~~~~~~~ + *Works only with solid-display-img* + + Set the alt for the field ``[field]``. ``multiple-[field]`` ~~~~~~~~~~~~~~~~~~~~ diff --git a/source/import_documentation/Widgets/Reference.rst b/source/import_documentation/Widgets/Reference.rst index 9bd3eb3bc0d052b7103ffabbb097e3e83d1d2ad2..9a3de2e9f06f52d47adaa522184984ff7de79edf 100644 --- a/source/import_documentation/Widgets/Reference.rst +++ b/source/import_documentation/Widgets/Reference.rst @@ -29,10 +29,10 @@ Name of the template to use. Available templates: - ``display`` directory - ``value``: displays ``value`` directly in the widget tag. - - ``div``: displays ``value`` inside a ``<div>`` tag - - ``link``: displays ``value`` as an ``href`` attribute in a ``<a>`` tag - - ``img``: displays ``value`` as a ``src`` attribute in a ``<img>`` tag - - ``boolean``: displays label (or name) in a ``<label>`` tag if ``value == true`` + - ``div``: displays ``value`` inside a ``<div>`` tag. + - ``link``: displays ``value`` as an ``href`` attribute in a ``<a>`` tag. + - ``img``: displays ``value`` as a ``src`` attribute in a ``<img>`` tag. + - ``boolean``: displays label (or name) in a ``<label>`` tag if ``value == true``. - ``form`` directory @@ -52,12 +52,13 @@ Name of the template to use. Available templates: - ``radio``: set ``value`` in a list of radio buttons. The list is provided via the ``range`` attribute, which expects a container’s URL, or via the ``enum`` attribute, which takes a list of the values separated by commas. - ``multiple``: Accept a container URI as a ``value``, and inserts one widget per resource with a “remove†button for each widget, and an “add†button. - ``multipleselect``: Accept a container URI as a ``value``, and inserts a dropdown widget with the ``multiple`` attribute. - - ``checkboxes``: Accept a container URI as a ``value``, allow to select multiple values with in a list of checkbox inputs. The list is provided via the ``range`` attribute, which expects a container’s URL, or via the ``enum`` attribute, which takes a list of the values separated by commas. + - ``checkboxes``: Accept a container URI as a ``value``, allow to select multiple values with in a list of checkbox inputs. The list is provided via the ``range`` attribute, which expects a container’s URL, or via the ``enum`` attribute, which takes a list of the values separated by commas. - ``file``: Inserts an ``<input/>`` and an ``<input type="file"/>``. When a file is selected it’s uploaded, URL of file is returned by request and set as the ``<input/>`` value. The upload URL is provided via the ``upload-url`` attribute. - ``image``: Works like ``file`` but allow only images in the input, and create a preview of the image when selected by the user. - - ``color``: set ``value`` in a ``<input>`` of type ``color``. + - ``color``: set ``value`` in an ``<input>`` of type ``color``. + - ``password``: set ``value`` in an ``<input>`` of type ``password``. - ``set`` @@ -92,3 +93,4 @@ Features to add to the widget. You can choose as many as you want - ``addable``: adds a ``<solid-form>`` that allows to add data on the field concerned. It accepts attributes from :ref:`solid-form <solid-form>` by using ``addable-[field]-[attribute]="value"`` format. If ``addable-data-src`` is not provided, the solid-form will use the URI in ``range-[field]`` as data-src, if declared. +- ``oembed``: displays the video content of an oEmbed link filled with the associated ``value-[field]`` attribute. \ No newline at end of file diff --git a/source/import_documentation/attributes-list.rst b/source/import_documentation/attributes-list.rst index 64c0f84ed5954f3511316f33db9c2ffd7c6171fd..7a464454ffad2f63d98e979e83357a3e61665af4 100644 --- a/source/import_documentation/attributes-list.rst +++ b/source/import_documentation/attributes-list.rst @@ -5,11 +5,19 @@ List of attributes (core framework) ~~~~~~~~~~~~~~~~~~ * :ref:`widget-mixin <widget-mixin>` +``alt-[field]`` +~~~~~~~~~~~~~~~ + * :ref:`widget-mixin <widget-mixin>` + ``autocomplete-[field]`` ~~~~~~~~~~~~~~~~~~~~~~~~ * :ref:`solid-form <solid-form>` * :ref:`solid-form-search <solid-form-search>` +``autosave`` +~~~~~~~~~~~~ + * :ref:`solid-form <solid-form>` + ``child-[field]`` ~~~~~~~~~~~~~~~~~ * :ref:`solid-display <solid-display>` @@ -18,6 +26,10 @@ List of attributes (core framework) ~~~~~~~~~~~~~~~~~ * :ref:`widget-mixin <widget-mixin>` +``clustering`` +~~~~~~~~~~~~~~ + * :ref:`solid-map <solid-map>` + ``confirmation-message`` ~~~~~~~~~~~~~~~~~~~~~~~~ * :ref:`solid-form <solid-form>`