SiLaunchpadFactoryComponent documentation¶
import { SiLaunchpadFactoryComponent } from '@siemens/element-ng/application-header'; Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| appsrequired ¶ | 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. |
| showLessAppsTextdeprecated ¶ | 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'; import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';Represents a translatable string. This can either be a translation key, e.g. 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.
import type { AppLink } from '@siemens/element-ng/application-header';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:
TranslatableStringInherited from AppBase¶ -
Name of the related system.
systemName?:
TranslatableStringInherited from AppBase¶ -
Value for the anchor target attribute.
-
The type of the app. can be either 'link' or 'router-link'
import type { AppRouterLink } from '@siemens/element-ng/application-header'; -
Active match options for routerLinkActive https://angular.dev/api/router/IsActiveMatchOptions.
activeMatchOptions?:
{ exact: boolean; } | IsActiveMatchOptions¶ -
Whether the app should be marked as external.
-
Navigation extras that are passed to the https://angular.dev/api/router/NavigationExtras.
-
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:
TranslatableStringInherited from AppBase¶ -
Link for the angular router. Accepts the same values as https://angular.dev/api/router/RouterLink.
routerLink:
string | any[]¶ -
Name of the related system.
systemName?:
TranslatableStringInherited from AppBase¶
import type { AppBase } from '@siemens/element-ng/application-header'; -
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.
Except where otherwise noted, content on this site is licensed under MIT License.