SiWeatherWidgetForecastDay Type documentation¶
TypeScript declaration¶
A single day in the forecast block. Weather illustration for the day. A string is shorthand for illustration ? : Translatable day label, e.g. Maximum temperature, pre-formatted by the caller. maxTemperature : Minimum temperature, pre-formatted by the caller. minTemperature : import type { SiWeatherWidgetForecastDay } from '@siemens/element-ng/dashboard';
{ src }.string | SiWeatherIcon ¶ "Mon".string | number ¶ string | number ¶
Types Documentation¶
Describes how a weather illustration should be resolved. Callers can either provide a direct SiWeatherIcon.src or a semantic SiWeatherIcon.condition token resolved by a SiWeatherIconResolver.import type { SiWeatherIcon } from '@siemens/element-ng/dashboard';
Represents a translatable string. This can either be a translation key, e.g. import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Except where otherwise noted, content on this site is licensed under MIT License.