Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Section

Hierarchy

  • Section<"idle" | "status_line" | "headers" | "end">
    • Section

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Section(sections?: ["idle", "status_line", "headers", "end"]): Section
  • Parameters

    • Default value sections: ["idle", "status_line", "headers", "end"] = ["idle", "status_line", "headers", "end"] as ["idle", "status_line", "headers", "end"]

    Returns Section

Properties

sections

sections: ("idle" | "status_line" | "headers" | "end")[]

Methods

get

  • get(): S

is

  • is(section: "idle" | "status_line" | "headers" | "end"): boolean

next

  • next(): number

previous

  • previous(): number

set

  • set(section: "idle" | "status_line" | "headers" | "end"): number

Generated using TypeDoc