TLExternalContent

Public TypeAlias

Signature
type TLExternalContent =
  | {
      type: 'embed'
      url: string
      point?: VecLike
      embed: EmbedDefinition
    }
  | {
      type: 'files'
      files: File[]
      point?: VecLike
      ignoreParent: boolean
    }
  | {
      type: 'svg-text'
      text: string
      point?: VecLike
    }
  | {
      type: 'text'
      point?: VecLike
      text: string
    }
  | {
      type: 'url'
      url: string
      point?: VecLike
    }
References

VecLike, EmbedDefinition, File

Edit this page
Last edited on 15 June 2023
TLExportTypeTLHistoryEntry