SiteResponse | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Class SiteResponse<T>

    WH6.0 will drop this in favor of pageBuilder:

    Type Parameters

    • T extends object = object
    Index

    Constructors

    Properties

    contents: string = ""
    pageConfig: T

    The pageConfig. Not protected because we assume that if you know it's type T, its on you if you access it

    siteRequest: SiteRequest

    Methods

    • Append the specified text

      Parameters

      • text: string

      Returns void

    • Returns Record<string, boolean>

    • Insert a callback for use during rendering

      Parameters

      • where: InsertPoints
      • what: Insertable

      Returns void

    • Set data associated with a plugin

      Type Parameters

      • Type extends keyof FrontendDataTypes

      Parameters

      • dataObject: Type
      • data: FrontendDataTypes[Type]

      Returns void