0
Textarea在FF和Chrome中可調整大小,但無法在IE 11上調整大小。嘗試在jQuery UI大小的基礎上創建角度js指令,但無法運行。無法使用angular js指令調整IE11中的texarea
angular.module('xyzApp').directive('textarea', function() {
return {
// A = attribute, E = Element, C = Class and M = HTML Comment
restrict:'E',
//The link function is responsible for registering DOM listeners as well as updating the DOM.
link: function(scope, element, attrs) {
element.resizable();
}
};
});
沒有運氣。它不工作 –