Platform: Token Component Technical Design - SAP/fundamental-ngx GitHub Wiki
Tokens are small items of information (similar to tags) that serve mainly to visualize previously selected items.
The Core Token component seems to be the same as described here. A Platform token implementation is not needed.
<fdp-token (close)="onClose()" [compact]="true">Apple</fdp-token>
<fdp-token (close)="onClose()">Banana</fdp-token>
<fdp-token (close)="onClose()">Orange</fdp-token>
Toggles whether to display Token in "compact" mode.
Event emitted on click of Token "close" icon.
The fdp-token
accepts any string as its content.
Link to general support for i18n: Supporting internationalization in ngx/platform
Special Usecase: No
-
fdp-token
can be supported as:
<fdp-token i18n="@@banana" (close)="onClose()">Banana</fdp-token>
Redesign Required: No