mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-02 19:54:33 +00:00
Updated angular IDirective for 1.2.0
Conflicts: angularjs/angular.d.ts
This commit is contained in:
committed by
John Emau
parent
604c5b5d6f
commit
9ba67fffd6
25
angularjs/angular.d.ts
vendored
25
angularjs/angular.d.ts
vendored
@@ -640,16 +640,29 @@ declare module ng {
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
interface IDirective{
|
||||
compile?:
|
||||
(templateElement: any,
|
||||
templateAttributes: IAttributes,
|
||||
transclude: (scope: IScope, cloneLinkingFn: Function) => void
|
||||
) => any;
|
||||
controller?: (...injectables: any[]) => void;
|
||||
controllerAs?: string;
|
||||
link?:
|
||||
(scope: IScope,
|
||||
instanceElement: any,
|
||||
instanceAttributes: IAttributes,
|
||||
controller: any
|
||||
) => void;
|
||||
name?: string;
|
||||
priority?: number;
|
||||
template?: any;
|
||||
templateUrl?: any;
|
||||
replace?: boolean;
|
||||
transclude?: any;
|
||||
require?: string[];
|
||||
restrict?: string;
|
||||
scope?: any;
|
||||
link?: Function;
|
||||
compile?: Function;
|
||||
controller?: any;
|
||||
template?: any;
|
||||
templateUrl?: any;
|
||||
terminal?: boolean;
|
||||
transclude?: any;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user