May 2016
Beginner to intermediate
388 pages
9h 18m
English
The text component is another component that is really simple to use. It allows you to display text on the dashboard. This component will not trigger a query, but is still executed as part of the lifecycle of the dashboard, so it's very useful. It can be used, per instance, to display the user that is logged in.
Besides the properties that you already know and that are common to the remaining components, there can also be:
One example would be:
function() {
return this.dashboard.context.user;
} The previous code is returning the username of the user that is using the dashboard, but we could have returned ...
Read now
Unlock full access