Merge pull request #10668 from smfeest/multi_slot_transclude

Add additional $transclude function parameters
This commit is contained in:
Andy
2016-09-20 07:42:39 -07:00
committed by GitHub
2 changed files with 21 additions and 1 deletions

View File

@@ -1259,7 +1259,7 @@ declare namespace angular {
// This corresponds to $transclude (and also the transclude function passed to link).
interface ITranscludeFunction {
// If the scope is provided, then the cloneAttachFn must be as well.
(scope: IScope, cloneAttachFn: ICloneAttachFunction): JQuery;
(scope: IScope, cloneAttachFn: ICloneAttachFunction, futureParentElement?: JQuery, slotName?: string): JQuery;
// If one argument is provided, then it's assumed to be the cloneAttachFn.
(cloneAttachFn?: ICloneAttachFunction): JQuery;
}