UNPKG

@syncfusion/ej2-angular-base

Version:

A common package of Essential JS 2 base Angular libraries, methods and class definitions

20 lines (19 loc) 747 B
import { ElementRef } from '@angular/core'; /** * Angular Template Compiler * * @param {AngularElementType} templateEle - The element representing the template. * @param {Object} [helper] - Optional helper object. * @returns {Function} A function that compiles the template. */ export declare function compile(templateEle: AngularElementType, helper?: Object): (data: Object | JSON, component?: any, propName?: any) => Object; /** * Property decorator for angular. * * @param {Object} [defaultValue] - Default value for the property. * @returns {PropertyDecorator} The decorator function. */ export declare function Template(defaultValue?: Object): PropertyDecorator; export interface AngularElementType { elementRef: ElementRef; }