import { BoundItemBase } from "./BoundItemBase" ; import { UkuleleUtil } from "../util/UkuleleUtil" ; import { IUkulele } from "../core/IUkulele" ; export class BoundItemComponentAttribute extends BoundItemBase { ukuTag : string ; componentController : any ; constructor ( attrName , ukuTag , cc , uku ) { super ( attrName , null , uku ) ; this . ukuTag = ukuTag ; this . componentController = cc ; } render ( controllers ) { let finalValue = UkuleleUtil . getFinalValue ( controllers , this . attributeName ) ; this . componentController [ this . ukuTag ] = finalValue ; this . uku . refresh ( this . componentController . _alias ) ; } }