1.1.0
TickWatch v1.1.0 Release Notes
New Features:
- Display Number Support: We have added the ability to display static numbers with a specified number of digits, providing greater flexibility for displaying numerical information.
Details:
- Introduced the
displayOnly
option which, when set to true, displays static numbers instead of a clock. - Added the
displaySize
option to specify the number of digits to display whendisplayOnly
is true. - Provided new examples to demonstrate the usage of these features.
Impact:
This update allows developers to utilize TickWatch for a wider range of use cases, including displaying static numerical data in a customizable format.
How to Use:
To display a static number, initialize TickWatch with the displayOnly
option set to true, and optionally specify the number of digits using the displaySize
option. For example:
$('.display').TickWatch({
displayOnly: true,
displaySize: 2,
});
You can dynamically set the displayed number using the set
method:
$('.display').TickWatch('set', '42');
We hope these additions enhance your development experience. Thank you for using our library!
Full Changelog: 1.0.2...1.1.0