fo_components 0.0.1303 copy "fo_components: ^0.0.1303" to clipboard
fo_components: ^0.0.1303 copied to clipboard

outdatedDart 1 only

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.

4
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A collection of Angular Dart components

Homepage

License

unknown (LICENSE)

Dependencies

angular2, angular_components

More

Packages that depend on fo_components