tk_drag: Create a tangle kit slider

Description Usage Arguments Examples

View source: R/drag.R

Description

Create a tangle kit slider

Usage

1
tk_drag(value, text, min = NULL, max = NULL, id = as_attr(text))

Arguments

value

Starting value.

text

Text shown after the number

min,max

Minimum and maximum allowable values.

id

A unique identifier for the control. If unspecified, uses lower case value with non-alphanumeric values converted to -, multiple - collapsed to one -, and leading and trailing - dropped.

Examples

1
2
tk_drag(1, " pies")
tk_drag(2, " hats")

hadley/tanglekit documentation built on May 17, 2019, 1:04 p.m.