UNPKG

610 BTypeScriptView Raw
1import { TargetInstruction } from 'aurelia-templating';
2/**
3 * Attribute to be placed on any element to have it emit the View Compiler's
4 * TargetInstruction into the debug console, giving you insight into all the
5 * parsed bindings, behaviors and event handers for the targeted element.
6 */
7export declare class CompileSpy {
8 /**
9 * Creates and instanse of CompileSpy.
10 * @param element target element on where attribute is placed on.
11 * @param instruction instructions for how the target element should be enhanced.
12 */
13 constructor(element: Element, instruction: TargetInstruction);
14}