Files
NativeScript/ui/builder/component-builder.d.ts
Hristo Deshev 28898dcd32 Expose special property logic in builder.
Called by the Angular renderer.
2015-09-09 12:03:02 +03:00

16 lines
670 B
TypeScript

//@private
declare module "ui/builder/component-builder" {
import view = require("ui/core/view");
export function getComponentModule(elementName: string, namespace: string, attributes: Object, exports: Object): ComponentModule;
export function setPropertyValue(instance: view.View, instanceModuleExports: Object, pageExports: Object, propertyName: string, propertyValue: string) : void;
export var specialProperties: Array<string>;
export function setSpecialPropertyValue(instance: view.View, propertyName: string, propertyValue: string): boolean;
export interface ComponentModule {
component: view.View;
exports: any;
}
}