[英]Pass <input> value as Ember component invoking param
我是EmberJS的新手,它嘗試使用通過用戶輸入動態設置的param調用組件:
<input type=date>
{{super-calendar startDate='/* value from the input */'}}
您是否知道在Ember中執行此操作的正確方法是什么?
someVariable
可以是控制器的屬性或計算的屬性
<input type=date value=someVariable>
{{super-calendar startDate=someVariable}}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.