mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Extend Angular jqLite static interface
This commit is contained in:
@@ -627,11 +627,13 @@ function test_angular_forEach() {
|
||||
}
|
||||
|
||||
// angular.element() tests
|
||||
let element = angular.element('div.myApp');
|
||||
let element = angular.element('<div></div>');
|
||||
let scope: ng.IScope = element.scope();
|
||||
let isolateScope: ng.IScope = element.isolateScope();
|
||||
isolateScope = element.find('div.foo').isolateScope();
|
||||
isolateScope = element.find('div').isolateScope();
|
||||
isolateScope = element.children().isolateScope();
|
||||
let element2 = angular.element(element);
|
||||
let elementArray = angular.element(document.querySelectorAll('div'));
|
||||
|
||||
// $timeout signature tests
|
||||
namespace TestTimeout {
|
||||
|
||||
Reference in New Issue
Block a user