mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Add draggable and slider functionality to lib.luau
This commit is contained in:
parent
2460b83416
commit
341e321527
1 changed files with 7 additions and 2 deletions
|
|
@ -22,6 +22,9 @@ local action = require "./action"()
|
||||||
local changed = require "./changed"
|
local changed = require "./changed"
|
||||||
local timeout, update_timeouts = require "./timeout"()
|
local timeout, update_timeouts = require "./timeout"()
|
||||||
local flags = require "./flags"
|
local flags = require "./flags"
|
||||||
|
local draggable = require "./draggable"
|
||||||
|
local sliderFactory = require "./slider"
|
||||||
|
local slider = sliderFactory(create, source, action, cleanup)
|
||||||
|
|
||||||
export type Source<T> = source.Source<T>
|
export type Source<T> = source.Source<T>
|
||||||
export type source<T> = Source<T>
|
export type source<T> = Source<T>
|
||||||
|
|
@ -60,14 +63,16 @@ local vide = {
|
||||||
switch = switch,
|
switch = switch,
|
||||||
show = show,
|
show = show,
|
||||||
indexes = indexes,
|
indexes = indexes,
|
||||||
values = values,
|
values = values,
|
||||||
|
slider = slider,
|
||||||
|
|
||||||
-- util
|
-- util
|
||||||
cleanup = cleanup,
|
cleanup = cleanup,
|
||||||
untrack = untrack,
|
untrack = untrack,
|
||||||
read = read,
|
read = read,
|
||||||
batch = batch,
|
batch = batch,
|
||||||
context = context,
|
context = context,
|
||||||
|
draggable = draggable,
|
||||||
|
|
||||||
-- animations
|
-- animations
|
||||||
spring = spring,
|
spring = spring,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue