UNPKG

@ngqp/core

Version:

Synchronizing form controls with the URL for Angular

22 lines (21 loc) 807 B
import { OnChanges, SimpleChanges } from '@angular/core'; import { QueryParamGroup } from '../model/query-param-group'; import { QueryParamGroupService } from './query-param-group.service'; /** * Binds a {@link QueryParamGroup} to a DOM element. * * This directive accepts an instance of {@link QueryParamGroup}. Any child using * {@link QueryParamNameDirective} will then be matched against this group, and the * synchronization process can take place. */ export declare class QueryParamGroupDirective implements OnChanges { private groupService; /** * The {@link QueryParamGroup} to bind. */ queryParamGroup: QueryParamGroup | null; /** @internal */ constructor(groupService: QueryParamGroupService); /** @ignore */ ngOnChanges(changes: SimpleChanges): void; }