Files
directus/app/src/displays
renovate[bot] 54ba54d3d6 Update dependency stylelint to v14 (#9016)
* Update dependency stylelint to v14

* Update dependency stylelint-scss to v4

* Update dependency stylelint-order to v5

* Undo command change

* Update stylelint command

* Use modern color syntax

Who knew this was already supported everywhere? Awesome!!

* Update stylelint-config-standard

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-25 22:26:57 -04:00
..
2021-10-25 20:29:04 -04:00
2021-10-25 20:29:04 -04:00
2021-10-25 20:29:04 -04:00
2021-10-25 20:29:04 -04:00
2021-10-25 20:29:04 -04:00
2021-05-04 18:52:08 -04:00

Displays

Displays are functions / components that are used in the system to display data. They are small wrappers that help display values in a matter that makes sense for the saved value, for example rendering a color swatch for a saved color value.

Functions vs Components

A Display can either be a function, or a component. The function gets the value, and returns a string of how to display this value. A Vue component similarly gets the value through the value prop, and can render whatever makes sense for the value.