FoComponents 0.0.1

fo-icon

Description

SVG icon

Input Properties

  • foSrc: Specify an icon id from within icons.svg
  • foTitle: Icon title and aria-label

Example

<fo-icon foSrc="coins" foTitle="Coins"></fo-icon>

Remarks

The caller must provide a svg file containing icons, in public_html/gfx/icons/icons.svg

fo-popup

Description

A popup dialog with a title and text content covering the window.

Input Properties

  • foText: Text content
  • foTitle: Header title
  • foIsConfirm: bool specifying whether or not the dialog has "Ok" and "Cancel" buttons

Example

<fo-popup #popup [foIsConfirm]="true" (close)="parseResponse($event)></fo-popup>
<button (click)="popup.open($event, strText, strTitle)">Click me!</button>    

Remarks

If the popup is a confirm dialog (specified by the isConfirm property), the popup dialog fires a "close"-event when closed. The event payload is set to true if the user confirmed by pressing "Ok", and false otherwise.

Libraries

app_component

attribute_directives.lowercase_directive

attribute_directives.uppercase_directive

data_table_component

fo_components

fo_filtering

fo_validators

icon_component

info_popup_component

map_to_keys_pipe

map_to_values_pipe

mock_user_service

range_pipe

uppercase_pipe