Class HorizontalImageScroller

Hierarchy

  • HorizontalImageScroller

Properties

canvas: HTMLCanvasElement
ctx: CanvasRenderingContext2D
entries: (CanvasImageSource | ClippedImage)[] = []
left: number = 0
right: number = 0

Constructors

  • Parameters

    • Optional append_to: HTMLElement
    • width: number = 300
    • height: number = 200

    Returns HorizontalImageScroller

Methods

  • Parameters

    • element: HTMLElement

    Returns HTMLCanvasElement

  • Parameters

    • entry: this["entries"][number]

    Returns Promise<void>

  • Parameters

    • entry: this["entries"][number]

    Returns Promise<void>

Generated using TypeDoc