Skip to content

CarouselButton

Overview

Next/previous button in a Carousel.

@author Chris Malley (PixelZoom, Inc.)

Class CarouselButton

import { CarouselButton } from 'scenerystack/sun';

Constructor

new CarouselButton( providedOptions? : CarouselButtonOptions )

Instance Methods

dispose()

Type CarouselButtonOptions

import type { CarouselButtonOptions } from 'scenerystack/sun';
  • arrowPathOptions?: PathOptions
  • arrowDirection?: ArrowDirection
  • arrowSize?: Dimension2
  • & StrictOmit<RectangularPushButtonOptions, "content" | "leftTopCornerRadius" | "rightTopCornerRadius" | "leftBottomCornerRadius" | "rightBottomCornerRadius" | "touchAreaXShift" | "touchAreaYShift" | "mouseAreaXShift" | "mouseAreaYShift">

Source Code

See the source for CarouselButton.ts in the sun repository.