Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PortalItemResource

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

path

path: string

Path of the resource relative to {ITEM}/resources/.

Read more...

portalItem

portalItem: PortalItem

The portal item that owns the resource.

Read more...

Readonly url

url: string

The absolute url to the item resource.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns PortalItemResource

destroy

  • destroy(): void
  • Returns void

fetch

  • Requests the PortalItemResource data in the format specified for the responseType.

    Read more...

    Parameters

    Returns Promise<any>

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns PortalItemResource

  • Parameters

    Returns PortalItemResource

update

  • Updates an existing resource with new content.

    Read more...

    Parameters

    Returns Promise<any>

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc