ng-qauto-complete

0.1.0 • Public • Published

QAutoComplete

npm install ng-qcontrols

Example

import { Component } from "@angular/core";
 
@Component({
    selector: "auto-complete-example",
    template: `
            <QAutoComplete 
                placeholder="How do I set the size of an HTML text box?" 
                displayProperty="formatted_address"
                pathToData="results"
                [source]="source" 
                [(model)]="model">
            </QAutoComplete>
            <button (click)="show()">Show</button>
    `
})
export class AutoCompleteExample {
 
    model = { formatted_address : "Hello" };
    source = "https://maps.googleapis.com/maps/api/geocode/json?address=:keyword";
 
    show() {
        console.log(this.model);
    }
}

Readme

Keywords

none

Package Sidebar

Install

npm i ng-qauto-complete

Weekly Downloads

0

Version

0.1.0

License

ISC

Last publish

Collaborators

  • wearetherock