Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

Properties

id: string
structureTypeName: string
structureTypeName: string = "Pages$Layout"
versionInfo: StructureVersionInfo = ...

Accessors

  • get acceptButtonPlaceholderQualifiedName(): null | string
  • Returns null | string

  • get acceptPlaceholderName(): string
  • set acceptPlaceholderName(newValue: string): void
  • In version 7.9.0: deleted In version 6.8.0: introduced

    Returns string

  • In version 7.9.0: deleted In version 6.8.0: introduced

    Parameters

    • newValue: string

    Returns void

  • In version 8.0.0: introduced

    Returns Appearance

  • In version 8.0.0: introduced

    Parameters

    Returns void

  • get cancelButtonPlaceholderQualifiedName(): null | string
  • Returns null | string

  • get cancelPlaceholderName(): string
  • set cancelPlaceholderName(newValue: string): void
  • In version 7.9.0: deleted In version 6.8.0: introduced

    Returns string

  • In version 7.9.0: deleted In version 6.8.0: introduced

    Parameters

    • newValue: string

    Returns void

  • get canvasHeight(): number
  • set canvasHeight(newValue: number): void
  • Returns number

  • Parameters

    • newValue: number

    Returns void

  • get canvasWidth(): number
  • set canvasWidth(newValue: number): void
  • Returns number

  • Parameters

    • newValue: number

    Returns void

  • get class(): string
  • set class(newValue: string): void
  • In version 8.0.0: deleted

    Returns string

  • In version 8.0.0: deleted

    Parameters

    • newValue: string

    Returns void

  • get container(): TContainer
  • The parent unit of this unit.

    Returns TContainer

  • get containerAsModule(): Module
  • get documentation(): string
  • set documentation(newValue: string): void
  • In version 9.10.0: added public

    Returns string

  • In version 9.10.0: added public

    Parameters

    • newValue: string

    Returns void

  • get excluded(): boolean
  • set excluded(newValue: boolean): void
  • In version 9.11.0: added public

    Returns boolean

  • In version 9.11.0: added public

    Parameters

    • newValue: boolean

    Returns void

  • In version 9.3.0: introduced

    Returns ExportLevel

  • In version 9.3.0: introduced

    Parameters

    Returns void

  • get isLoadable(): boolean
  • Whether this unit and all of its children (recursively) can be loaded.

    Returns boolean

  • get isLoaded(): boolean
  • Whether this unit has been completely loaded and does not consist of the unit's interface (which corresponds to the unit being partial).

    Returns boolean

  • get isReadOnly(): boolean
  • Whether this unit and all of its children (recursively) are editable.

    Returns boolean

  • In version 8.0.0: deleted In version 7.17.0: added public In version 6.8.0: added optional

    Returns null | LayoutCall

  • In version 8.0.0: deleted In version 7.17.0: added public In version 6.8.0: added optional

    Parameters

    Returns void

  • get mainPlaceholderName(): string
  • set mainPlaceholderName(newValue: string): void
  • In version 7.9.0: deleted In version 6.8.0: introduced

    Returns string

  • In version 7.9.0: deleted In version 6.8.0: introduced

    Parameters

    • newValue: string

    Returns void

  • get mainPlaceholderQualifiedName(): null | string
  • Returns null | string

  • get model(): TModel
  • Returns TModel

  • get name(): string
  • set name(newValue: string): void
  • Returns string

  • Parameters

    • newValue: string

    Returns void

  • get qualifiedName(): null | string
  • Returns the qualified name of this element, or null if this element is not a part of the model, or if it or one of its namespace containers does not have a valid name.

    Returns null | string

  • get style(): string
  • set style(newValue: string): void
  • In version 8.0.0: deleted

    Returns string

  • In version 8.0.0: deleted

    Parameters

    • newValue: string

    Returns void

  • get unit(): this
  • Unit that owns/contains this thing.

    Returns this

  • get useMainPlaceholderForPopups(): boolean
  • set useMainPlaceholderForPopups(newValue: boolean): void
  • In version 7.9.0: deleted

    Returns boolean

  • In version 7.9.0: deleted

    Parameters

    • newValue: boolean

    Returns void

  • In version 7.15.0: deleted

    Returns null | pages.Widget

  • In version 7.15.0: deleted

    Parameters

    Returns void

  • In version 8.0.0: deleted In version 7.15.0: introduced

    Returns IList<pages.Widget>

Methods

  • Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)

    • If invoked without callback, it checks whether the properties are available or it will throw;
    • If invoked with callback, it will load the data from the server if needed, and then invoke the callback.

    Returns Layout

  • delete(): void
  • getContainerAs<T>(containerType: any): T
  • load(callback: (elem: Layout) => void, forceRefresh?: boolean): void
  • load(forceRefresh?: boolean): Promise<Layout>
  • Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)

    • If invoked without callback, it checks whether the properties are available or it will throw;
    • If invoked with callback, it will load the data from the server if needed, and then invoke the callback.

    Parameters

    • callback: (elem: Layout) => void
    • Optional forceRefresh: boolean

    Returns void

  • Parameters

    • Optional forceRefresh: boolean

    Returns Promise<Layout>

  • Renders the structure as plain JSON (without observables magic). This is intended for debugging and development convenience. Note that the resulting object is not of the interface type corresponding to this structure.

    Returns IAbstractElementJson

  • traverse(visit: (structure: IStructure) => void): void
  • Traverses this structure by calling the provided visitor function on itself and all the structures contained (as part) by it, in depth-first order, and it returns synchronously after that.

    Parameters

    Returns void

  • traverseFind<T>(visit: (structure: IStructure) => T): null | T
  • traversePublicParts(visit: (structure: IStructure) => void): void
  • Creates a new Layout unit in the SDK and on the server. Expects one argument, the projects.IFolderBase in which this unit is contained.

    Parameters

    Returns Layout

Generated using TypeDoc