geminis-ng
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
33 lines (32 loc) • 1.33 kB
TypeScript
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
import { GnTableConfig } from './TableConfig';
import { HttpClient } from '@angular/common/http';
import { GnTableComponent } from '../table/table.component';
import { ActivatedRoute } from '@angular/router';
import { GnMessageService } from '../message-service/message-service';
import { GnTableButtonComponent } from '../table-button/table-button.component';
import { ControlValueAccessor } from '@angular/forms';
export declare class GnJsonTableComponent implements OnInit, ControlValueAccessor {
private http;
private messageService;
private changeDetectorRef;
private route;
private changed;
private configValue;
private urlValue;
set config(config: GnTableConfig);
get config(): GnTableConfig;
set url(url: string);
get url(): string;
configLoaded: EventEmitter<GnTableConfig>;
dataLoaded: EventEmitter<any>;
table: GnTableComponent;
button: GnTableButtonComponent;
constructor(http: HttpClient, messageService: GnMessageService, changeDetectorRef: ChangeDetectorRef, route: ActivatedRoute);
ngOnInit(): void;
private loadConfig;
valueChange: (value: any[]) => void;
writeValue(obj: any[]): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
}