SiWeatherWidgetCurrent Type documentation¶
TypeScript declaration¶
Today block of the weather widget. Translatable condition label, e.g. Weather illustration. A string is shorthand for illustration ? : Optional alt text used when illustration is given as a string. Today's maximum temperature, pre-formatted by the caller. maxTemperature ? : Today's minimum temperature, pre-formatted by the caller. minTemperature ? : Current temperature, pre-formatted by the caller (e.g. temperature : import type { SiWeatherWidgetCurrent } from '@siemens/element-ng/dashboard';
"Sunny".{ src }.string | SiWeatherIcon ¶ string | number ¶ string | number ¶ "26°" or 26).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.