Skip to main content
Version: Next

LayoutStore

Index

Properties

currentLayoutName

currentLayoutName: string

dockedLayout

dockedLayout: any

oldLayoutName

oldLayoutName: string

supportsServer

supportsServer: boolean

publicstaticreadonlyToasterTimeout

ToasterTimeout: 1500 = 1500

Accessors

allLayoutNames

  • get allLayoutNames(): string[]
  • Returns string[]

isSave

  • get isSave(): boolean
  • Returns boolean

numSavedLayouts

  • get numSavedLayouts(): number
  • Returns number

orderedLayoutNames

  • get orderedLayoutNames(): string[]
  • Returns string[]

userLayoutNames

  • get userLayoutNames(): string[]
  • Returns string[]

staticInstance

Methods

applyLayout

  • applyLayout(layoutName: string): boolean
  • Parameters

    • layoutName: string

    Returns boolean

deleteLayout

  • deleteLayout(layoutName: string): Generator<Promise<any>, void, unknown>
  • Parameters

    • layoutName: string

    Returns Generator<Promise<any>, void, unknown>

fetchLayouts

  • fetchLayouts(): Generator<Promise<{}>, void, unknown>
  • Returns Generator<Promise<{}>, void, unknown>

publiclayoutExists

  • layoutExists(layoutName: string): boolean
  • Parameters

    • layoutName: string

    Returns boolean

renameLayout

  • renameLayout(oldName: string, newName: string): Generator<Promise<any>, void, unknown>
  • Parameters

    • oldName: string
    • newName: string

    Returns Generator<Promise<any>, void, unknown>

saveLayout

  • saveLayout(): Generator<Promise<boolean>, void, unknown>
  • Returns Generator<Promise<boolean>, void, unknown>

publicsetLayoutToBeSaved

  • setLayoutToBeSaved(layoutName: string): void
  • Parameters

    • layoutName: string

    Returns void

publicsetOldLayoutName

  • setOldLayoutName(oldLayoutName: string): void
  • Parameters

    • oldLayoutName: string

    Returns void