Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PageState

Index

Constructors

Properties

Methods

Constructors

constructor

  • new PageState(type: any, data?: {}): PageState

Properties

data

data: {}

Type declaration

    type

    type: any

    Methods

    get

    • get(key: any): any

    matches

    • matches(type: object, data?: Record<string, unknown>): boolean
    • Determine whether the page matches the given class and data.

      Parameters

      • type: object

        The page class to check against. Subclasses are accepted as well.

      • data: Record<string, unknown> = {}

      Returns boolean

    set

    • set(key: any, value: any): void

    Generated using TypeDoc version 0.22.10