mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
angularjs - Added $normalize to IAttributes
This commit is contained in:
parent
53b3ea17db
commit
146e3fbff1
@ -281,6 +281,7 @@ function test_IAttributes(attributes: ng.IAttributes){
|
||||
}
|
||||
|
||||
test_IAttributes({
|
||||
$normalize: function (classVal){},
|
||||
$addClass: function (classVal){},
|
||||
$removeClass: function(classVal){},
|
||||
$set: function(key, value){},
|
||||
|
||||
9
angularjs/angular.d.ts
vendored
9
angularjs/angular.d.ts
vendored
@ -419,6 +419,15 @@ declare module angular {
|
||||
*/
|
||||
[name: string]: any;
|
||||
|
||||
/**
|
||||
* Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with x- or data-) to its normalized, camelCase form.
|
||||
*
|
||||
* Also there is special case for Moz prefix starting with upper case letter.
|
||||
*
|
||||
* For further information check out the guide on @see https://docs.angularjs.org/guide/directive#matching-directives
|
||||
*/
|
||||
$normalize(name: string): void;
|
||||
|
||||
/**
|
||||
* Adds the CSS class value specified by the classVal parameter to the
|
||||
* element. If animations are enabled then an animation will be triggered
|
||||
|
||||
Loading…
Reference in New Issue
Block a user