Skip to content

AtloriaResponsePanel

reference
1 min readUpdated

Kind: Class

Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/ResponsePanel.ts

Extends: ExplorerElement

Methods

MethodSignatureReturns
willUpdatewillUpdate(changed: Map<string, unknown>)void
renderrender()void

Properties

PropertyType
stylesany
stringsExplorerStrings
responseAPIResponse
loadingany
errorError

Where it refuses work

  • AtloriaResponsePanel stops the work with an early return when !this.response, in 6 places.
  • AtloriaResponsePanel stops the work with an early return when isEmpty, in 2 places.
  • AtloriaResponsePanel stops the work with an early return when status >= 200 && status < 300.
  • AtloriaResponsePanel stops the work with an early return when status >= 300 && status < 400.
  • AtloriaResponsePanel stops the work with an early return when status >= 400 && status < 500.
  • AtloriaResponsePanel stops the work with an early return when status >= 500.

Was this page helpful?

Download as PDF