Skip to main content

SliderWidget

Class

Class in the Lens Scripting API.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

TypeScript only

Index

Properties

Methods

Extends

Constructors

Constructor

new SliderWidget(min, max, step?): SliderWidget

Parameters

ParameterType
minnumber
maxnumber
step?number

Returns

SliderWidget

Overrides

UIWidget.constructor

Properties

max

protected max: number


min

protected min: number


step?

protected optional step?: number

Methods

toString()

toString(): string

Returns

string

Overrides

UIWidget.toString