0
我正在使用Socket.io
brodcasting更改爲所有它的訂戶時,textarea上的數據更新但我遇到的問題是,當數據得到更新和textarea
是在focus state
它全部丟失focus
。我只想更新textarea
,僅當它在blur state
中時,並且從不在focus state
上。Angular:TextArea每次失去焦點textarea模型獲取更新
我試着寫這一點,但它亙古不變的作品
<textarea ng-model-options="{ updateOn: 'blur'}" ng-model="value.note"></textarea>