Files
directus/app/src/displays
2020-10-20 13:25:36 +02:00
..
2020-09-09 09:31:27 +02:00
2020-09-21 12:00:08 +02:00
2020-10-20 13:25:36 +02:00
2020-09-08 17:37:26 +02:00
2020-09-08 17:37:26 +02:00
2020-09-09 09:31:27 +02:00
2020-09-09 09:31:27 +02:00
2020-09-09 09:31:27 +02:00
2020-08-11 16:18:57 -04:00
2020-10-19 13:43:01 -04:00
2020-07-29 11:24:52 -04:00
2020-09-03 16:14:53 -04:00
2020-07-29 11:24:52 -04:00
2020-10-15 17:04:07 +02: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.