AngularTS
    Preparing search index...

    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.

    interface TranscludeFn {
        isSlotFilled?: (slotName: string | number) => boolean;
        (
            cloneAttachFn: CloneAttachFn,
            futureParentElement?: Node | Element | null,
            slotName?: string | number,
        ): TranscludedNodes | undefined;
        (
            scope?: Scope | null,
            cloneAttachFn?: CloneAttachFn,
            futureParentElement?: Node | Element | null,
            slotName?: string | number,
        ): TranscludedNodes | undefined;
        (
            scope?: Scope | null,
            cloneAttachFn?: CloneAttachFn,
            options?: TemplateLinkingFunctionOptions,
        ): TranscludedNodes | undefined;
    }
    • $transclude(cloneAttachFn, futureParentElement?, slotName?) (no explicit scope passed)

      Parameters

      • cloneAttachFn: CloneAttachFn
      • OptionalfutureParentElement: Node | Element | null
      • OptionalslotName: string | number

      Returns TranscludedNodes | undefined

    • $transclude(scope?, cloneAttachFn?, futureParentElement?, slotName?) (scope-first form)

      Parameters

      • Optionalscope: Scope | null
      • OptionalcloneAttachFn: CloneAttachFn
      • OptionalfutureParentElement: Node | Element | null
      • OptionalslotName: string | number

      Returns TranscludedNodes | undefined

    • Internal call path that threads link options.

      Parameters

      • Optionalscope: Scope | null
      • OptionalcloneAttachFn: CloneAttachFn
      • Optionaloptions: TemplateLinkingFunctionOptions

      Returns TranscludedNodes | undefined

    Index

    Properties

    Properties

    isSlotFilled?: (slotName: string | number) => boolean

    Added by your controllersBoundTransclude wrapper.