mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-23 18:00:26 +00:00
parent
759cba1a8d
commit
d1d5761232
1 changed files with 2 additions and 2 deletions
|
|
@ -300,8 +300,8 @@ The following example shows how to add two-way data-binding to contentEditable e
|
|||
});
|
||||
|
||||
// model -> view
|
||||
ctrl.$render = function(value) {
|
||||
elm.html(value);
|
||||
ctrl.$render = function() {
|
||||
elm.html(ctrl.$viewValue);
|
||||
};
|
||||
|
||||
// load init value from DOM
|
||||
|
|
|
|||
Loading…
Reference in a new issue