-
Notifications
You must be signed in to change notification settings - Fork 133
Platform: Token Component Technical Design
Kevin Okamoto edited this page Jun 24, 2020
·
4 revisions
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