Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

m1ga/ti.rangebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

ti.rangebar - Android Rangebar module

Appcelerator Titanum Rangebar module for Android.
Based on https://github.com/oli107/material-range-bar

Example

<RangebarView module="ti.rangebar" onChange="onChangeDistance" tickStart="2" tickEnd="100" tickInterval="2" connectionLineColor="#000" tickColor="transparent" leftThumbColor="#000" rightThumbColor="#000" height="Ti.UI.SIZE"/>

Properties:

range Two (true/default) or one thumb (false; right only)
tickStart Start value
tickEnd End value
tickInterval Steps
thumbSize Size of the left/right thumb
tickColor Tick/Dot color (can be transparent)
leftThumbColor Left thumb color
rightThumbColor Right thumb color
connectionLineColor Color between ticks/dots
tickSize Tick/dot size (can be zero)
pinColor Color of the pin/bubble
pinRadus Radus of the pin/bubble
staticPins Only show pin/bubble when touching thumb (default/true) or show it all the time (false)

Attention If you set the height to Ti.UI.SIZE it will include the space for the pin/bubble. Make sure to set a fixed height if you want to have it smaler and use it without pins/bubbles.

Events

  • onChange - startValue/endValue
  • onTouchStart - startValue/endValue
  • onTouchEnd - startValue/endValue

About

No description or website provided.

Topics

Resources

Readme

License

View license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages