Package org.angular.ts.ng
Interface TranscludeFn
@JsType(isNative=true,
name="ng.TranscludeFn",
namespace="<global>")
public interface TranscludeFn
A function passed to directive link functions for transcluded content. It behaves like a linking function, with the `scope` argument automatically created as a new child of the transcluded parent scope. The function returns the DOM content to be injected (transcluded) into the directive.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceTypeScript callback contract for this property. -
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectInvokes the callable TranscludeFn contract.default ObjectInvokes the callable TranscludeFn contract.call(Object cloneAttachFn, Node futureParentElement, TranscludeFn.CallSlotNameUnionType slotName) Invokes the callable TranscludeFn contract.Added by your `controllersBoundTransclude` wrapper.voidsetIsSlotFilled(TranscludeFn.IsSlotFilledCallback isSlotFilled) Added by your `controllersBoundTransclude` wrapper.
-
Method Details
-
call
Object call(Object cloneAttachFn, Node futureParentElement, TranscludeFn.CallSlotNameUnionType slotName) Invokes the callable TranscludeFn contract.- Parameters:
cloneAttachFn- Value supplied for the cloneAttachFn parameter.futureParentElement- Value supplied for the futureParentElement parameter.slotName- Value supplied for the slotName parameter.- Returns:
- Method result.
-
call
Invokes the callable TranscludeFn contract.- Parameters:
cloneAttachFn- Value supplied for the cloneAttachFn parameter.futureParentElement- Value supplied for the futureParentElement parameter.slotName- Value supplied for the slotName parameter.- Returns:
- Method result.
-
call
Invokes the callable TranscludeFn contract.- Parameters:
cloneAttachFn- Value supplied for the cloneAttachFn parameter.futureParentElement- Value supplied for the futureParentElement parameter.slotName- Value supplied for the slotName parameter.- Returns:
- Method result.
-
getIsSlotFilled
Added by your `controllersBoundTransclude` wrapper. -
setIsSlotFilled
Added by your `controllersBoundTransclude` wrapper.
-