fo_components 0.0.1177 fo_components: ^0.0.1177 copied to clipboard
A collection of Angular Dart components
#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.