@firestitch/address
Version:
@firestitch/address
9 lines (7 loc) • 414 B
HTML
<form (ngSubmit)="save(form)" #form="ngForm" fsForm>
<fs-address [(address)]="address" [(config)]="config" (change)="change($event)"></fs-address>
<button mat-button type="submit">Save</button>
</form>
<h2>Formatted Address</h2>
<span *ngIf="parts.length">Address:</span>
<fs-address-format [address]="address" [config]="{ address: { name: 'address1' } }" (change)="changeFormat($event)"></fs-address-format>