ElementAst

export class ElementAst

exported from angular2/compiler defined in angular2/src/compiler/template_ast.ts (line 86)

An element declaration in a template.

Constructor

constructor(name: string, attrs: AttrAst[], inputs: BoundElementPropertyAst[], outputs: BoundEventAst[], exportAsVars: VariableAst[], directives: DirectiveAst[], children: TemplateAst[], ngContentIndex: number, sourceSpan: ParseSourceSpan)

Not Yet Documented

Members

name : string

Not Yet Documented

attrs : AttrAst[]

Not Yet Documented

inputs : BoundElementPropertyAst[]

Not Yet Documented

outputs : BoundEventAst[]

Not Yet Documented

exportAsVars : VariableAst[]

Not Yet Documented

directives : DirectiveAst[]

Not Yet Documented

children : TemplateAst[]

Not Yet Documented

ngContentIndex : number

Not Yet Documented

sourceSpan : ParseSourceSpan

Not Yet Documented

visit(visitor: TemplateAstVisitor, context: any) : any

Not Yet Documented

isBound() : boolean

Whether the element has any active bindings (inputs, outputs, vars, or directives).

getComponent() : CompileDirectiveMetadata

Get the component associated with this element, if any.