Ace API Reference
    Preparing search index...

    Class HScrollBar

    Represents a horisontal scroll bar.

    Hierarchy

    • Scrollbar
      • HScrollBar
    Index

    Constructors

    • Creates a new HScrollBar. parent is the owner of the scroll bar.

      Parameters

      • parent: Element

        A DOM element

      • renderer: any

        An editor renderer

      Returns HScrollBar

    Properties

    coeff: number
    element: HTMLDivElement
    height: any
    inner: HTMLDivElement
    isVisible: any
    scrollLeft: number
    skipEvent: boolean

    Methods

    • Returns the height of the scroll bar.

      Returns number

    • Sets the inner width of the scroll bar, in pixels.

      Parameters

      • width: number

        The new inner width

      Returns void

      Use setScrollWidth instead

    • Sets the scroll left of the scroll bar.

      Parameters

      • scrollLeft: number

        The new scroll left

      Returns void

    • Sets the scroll width of the scroll bar, in pixels.

      Parameters

      • width: number

        The new scroll width

      Returns void

    • Parameters

      • isVisible: any

      Returns void

    • Sets the width of the scroll bar, in pixels.

      Parameters

      • width: number

        The new width

      Returns void

    Events

    • Internal

      Emitted when the scroll bar, well, scrolls. scroll

      Returns void