UNPKG

@ng-maps/places

Version:

Components related to places library. Currently only an autocomplete directive is implemented that can be attached to an input field to provide places suggestions

28 lines (27 loc) 1.38 kB
import { ModuleWithProviders } from '@angular/core'; import { NgMapsPlacesConfiguration } from './configuration'; import { NgMapsAutocompleteDirective } from './directives/autocomplete'; import { NgMapsSearchBoxDirective } from './directives/search-box'; import * as i0 from "@angular/core"; import * as i1 from "./directives/autocomplete"; import * as i2 from "./directives/search-box"; /** * @internal */ export declare function placesDirectives(): (typeof NgMapsAutocompleteDirective | typeof NgMapsSearchBoxDirective)[]; export declare class NgMapsPlacesModule { /** * configure the NgMapsPlacesModule with a value * @param config */ static forRoot(config: NgMapsPlacesConfiguration): ModuleWithProviders<NgMapsPlacesModule>; /** * configure the NgMapsPlacesModule with a factory * @param factory * @param deps */ static forRootFactory(factory: (...args: Array<any>) => NgMapsPlacesConfiguration, deps?: Array<any>): ModuleWithProviders<NgMapsPlacesModule>; static ɵfac: i0.ɵɵFactoryDeclaration<NgMapsPlacesModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<NgMapsPlacesModule, [typeof i1.NgMapsAutocompleteDirective, typeof i2.NgMapsSearchBoxDirective], never, [typeof i1.NgMapsAutocompleteDirective, typeof i2.NgMapsSearchBoxDirective]>; static ɵinj: i0.ɵɵInjectorDeclaration<NgMapsPlacesModule>; }