export class 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)
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
name : string
Not Yet Documented
attrs : AttrAst[]
attrs : AttrAst[]
Not Yet Documented
inputs : BoundElementPropertyAst[]
inputs : BoundElementPropertyAst[]
Not Yet Documented
outputs : BoundEventAst[]
outputs : BoundEventAst[]
Not Yet Documented
exportAsVars : VariableAst[]
exportAsVars : VariableAst[]
Not Yet Documented
directives : DirectiveAst[]
directives : DirectiveAst[]
Not Yet Documented
children : TemplateAst[]
children : TemplateAst[]
Not Yet Documented
ngContentIndex : number
ngContentIndex : number
Not Yet Documented
sourceSpan : ParseSourceSpan
sourceSpan : ParseSourceSpan
Not Yet Documented
visit(visitor: TemplateAstVisitor, context: any) : any
visit(visitor: TemplateAstVisitor, context: any) : any
Not Yet Documented
isBound() : boolean
isBound() : boolean
Whether the element has any active bindings (inputs, outputs, vars, or directives).
getComponent() : CompileDirectiveMetadata
getComponent() : CompileDirectiveMetadata
Get the component associated with this element, if any.