# Interface TranscludeFunctionObject

Represents advanced transclusion functions used in directives.

interface TranscludeFunctionObject {
isSlotFilled(slotName: string): boolean;
transcludeWithoutScope(
cloneAttachFn?: CloneAttachFunction,
element?: Element,
slotName?: string,
): Element;
transcludeWithScope(
scope: Scope,
cloneAttachFn: CloneAttachFunction,
element?: Element,
slotName?: string,
): Element;
}

- Defined in src/interface.ts:251

##### Index

### Methods

isSlotFilled
transcludeWithoutScope
transcludeWithScope

## Methods

### isSlotFilled

- isSlotFilled(slotName: string): boolean

  Checks if a named slot is filled

  #### Parameters

  - slotName: string

  #### Returns boolean

  - Defined in src/interface.ts:266

### transcludeWithoutScope

- transcludeWithoutScope(
  cloneAttachFn?: CloneAttachFunction,
  element?: Element,
  slotName?: string,
  ): Element

  Transcludes content without creating a new scope

  #### Parameters

  - `Optional` cloneAttachFn: CloneAttachFunction
  - `Optional` element: Element
  - `Optional` slotName: string

  #### Returns Element

  - Defined in src/interface.ts:260

### transcludeWithScope

- transcludeWithScope(
  scope: Scope,
  cloneAttachFn: CloneAttachFunction,
  element?: Element,
  slotName?: string,
  ): Element

  Transcludes content with a new scope

  #### Parameters

  - scope: Scope
  - cloneAttachFn: CloneAttachFunction
  - `Optional` element: Element
  - `Optional` slotName: string

  #### Returns Element

  - Defined in src/interface.ts:253