SiLaunchpadFactoryComponent documentation¶
import { SiLaunchpadFactoryComponent } from '@siemens/element-ng/application-header'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| apps required ¶ | App[] | AppCategory[] | All app items shown in the launchpad. | |
| closeText ¶ | TranslatableString | $localize`:@@SI_LAUNCHPAD.CLOSE:Close launchpad` | Text to close the launchpad. Needed for a11y. |
| enableFavorites ¶ | boolean | false | Allow the user to select favorite apps which will then be displayed at the top. |
| favoriteAppsText ¶ | TranslatableString | $localize`:@@SI_LAUNCHPAD.FAVORITE_APPS:Favorites` | Title of the favorite apps section. |
| showLessAppsText deprecated ¶ | unknown | Deprecated: This input no longer has an effect. showMoreAppsText is shown in all cases. | |
| showMoreAppsText ¶ | TranslatableString | $localize`:@@SI_LAUNCHPAD.SHOW_MORE:Show more` | Title of the show more apps button. |
| subtitleText ¶ | TranslatableString | undefined | Subtitle of the launchpad. When not provided, no subtitle is displayed. | |
| titleText ¶ | TranslatableString | $localize`:@@SI_LAUNCHPAD.TITLE:Switch app` | Title of the launchpad. |
| wrapAppLabels ¶ | boolean | false | Wrap app names and descriptions instead of truncating them and showing a tooltip. Rows within each section have equal height in this mode. |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| favoriteChange ¶ | FavoriteChangeEvent |
Types Documentation¶
import type { App } from '@siemens/element-ng/application-header';
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.
Represents an app to be shown in the launchpad. Whether the app is the currently running app. Whether the app should be marked as external. Whether the app is marked as favorite. URL destination of the app. CSS class to apply, which should render the icon. Typically, "element-*". Icon of the app. Name of the app name : Name of the related system. systemName ? : Value for the anchor target attribute. The type of the app. can be either 'link' or 'router-link'import type { AppLink } from '@siemens/element-ng/application-header';
TranslatableString Inherited from AppBase ¶ TranslatableString Inherited from AppBase ¶
Active match options for routerLinkActive https://angular.dev/api/router/IsActiveMatchOptions. activeMatchOptions ? : Whether the app should be marked as external. Navigation extras that are passed to the https://angular.dev/api/router/NavigationExtras. extras ? : Whether the app is marked as favorite. CSS class to apply, which should render the icon. Typically, "element-*". Icon of the app. Name of the app name : Link for the angular router. Accepts the same values as https://angular.dev/api/router/RouterLink. routerLink : Name of the related system. systemName ? : import type { AppRouterLink } from '@siemens/element-ng/application-header';
{ exact: boolean; } | IsActiveMatchOptions ¶ NavigationExtras ¶ TranslatableString Inherited from AppBase ¶ string | any[] ¶ TranslatableString Inherited from AppBase ¶
Whether the app should be marked as external. Whether the app is marked as favorite. CSS class to apply, which should render the icon. Typically, "element-*". Icon of the app. Name of the app Name of the related system.import type { AppBase } from '@siemens/element-ng/application-header';
Except where otherwise noted, content on this site is licensed under MIT License.