This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +26
-1
lines changed
1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -831,9 +831,34 @@ angularWidget('input', function(inputElement){
831
831
} ) ;
832
832
}
833
833
} ) ;
834
-
835
834
} ) ;
836
835
836
+
837
+ /**
838
+ * @ngdoc widget
839
+ * @name angular.widget.textarea
840
+ *
841
+ * @description
842
+ * HTML textarea element widget with angular data-binding. The data-binding and validation
843
+ * properties of this element are exactly the same as those of the
844
+ * {@link angular.widget.input input element}.
845
+ *
846
+ * @param {string } type Widget types as defined by {@link angular.inputType}. If the
847
+ * type is in the format of `@ScopeType` then `ScopeType` is loaded from the
848
+ * current scope, allowing quick definition of type.
849
+ * @param {string } ng:model Assignable angular expression to data-bind to.
850
+ * @param {string= } name Property name of the form under which the widgets is published.
851
+ * @param {string= } required Sets `REQUIRED` validation error key if the value is not entered.
852
+ * @param {number= } ng:minlength Sets `MINLENGTH` validation error key if the value is shorter than
853
+ * minlength.
854
+ * @param {number= } ng:maxlength Sets `MAXLENGTH` validation error key if the value is longer than
855
+ * maxlength.
856
+ * @param {string= } ng:pattern Sets `PATTERN` validation error key if the value does not match the
857
+ * RegExp pattern expression. Expected value is `/regexp/` for inline patterns or `regexp` for
858
+ * patterns defined as scope expressions.
859
+ * @param {string= } ng:change Angular expression to be executed when input changes due to user
860
+ * interaction with the input element.
861
+ */
837
862
angularWidget ( 'textarea' , angularWidget ( 'input' ) ) ;
838
863
839
864
You can’t perform that action at this time.
0 commit comments