mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-23 01:40:25 +00:00
parent
a3a9d4af05
commit
1122dc7a5b
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