import { BoundItemBase } from "./BoundItemBase" ; import { UkuleleUtil } from "../util/UkuleleUtil" ; import { Selector } from "../extend/Selector" ; import { IUkulele } from "../core/IUkulele" ; export class BoundItemExpression extends BoundItemBase { expression : string ; constructor ( attrName , expression , element , uku ) { super ( attrName , element , uku ) ; this . expression = expression ; } render ( controllers ) { let finalValue = UkuleleUtil . getFinalValue ( controllers , this . attributeName ) ; Selector . directText ( this . element , finalValue ) ; } }