Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ClassicRenderer

The classic renderer renders the G.A.I.A. messages in a classic top-down manner.

Hierarchy

Implements

Index

Constructors

constructor

  • new ClassicRenderer(content?: HTMLElement, suggest?: HTMLElement): ClassicRenderer

Properties

Protected content

content: HTMLElement

scrollStrategy

scrollStrategy: "bottom" | "container" | function = this.bottomScrollStrategy

The scroll strategy is used to define the manner of scroll automation after the rendering of a renderable.

Protected suggest

suggest: HTMLElement

Methods

appendContent

  • appendContent(element: HTMLElement): void

appendSuggest

  • appendSuggest(element: HTMLElement): void

Private bottomScrollStrategy

  • bottomScrollStrategy(e: HTMLElement): number

Private containerScrollStrategy

  • containerScrollStrategy(e: HTMLElement): void
  • The container scroll strategy autoscrolls to the last renderable with a .lto-container class.

    Parameters

    • e: HTMLElement

    Returns void

Private handleCarousel

  • handleCarousel(args: any[]): void

Private needsSeparator

render

Protected renderElement

Generated using TypeDoc