@iotile/iotile-common
Version:
Common utilities for IoTile Packages and Applications
16 lines (15 loc) • 513 B
TypeScript
import { ControllerBase } from "./controller-base";
/**
* ComponentBase should be used to create components
* that can be invoked dynamically by name rather than having
* to know the component's name at compile time.
*/
export declare class ComponentBase extends ControllerBase {
private resolve;
private reject;
constructor(name: string, $injector: any, $scope: any);
$onInit(): Promise<void>;
$onDestroy(): Promise<void>;
initialize(): Promise<void>;
cleanup(): Promise<void>;
}