The TAU library contains components which allows you to create Web Application UI. Each components represents UI element, such as a button or slider, which gives you interaction and manipulation features.
- Clone a copy of the master branch in the TAU Git repository:
git clone [email protected]:Samsung/TAU.git
- Change to the tau directory:
cd TAU
- Check out the latest stable version of TAU:
git checkout master
To build a TAU library, ensure that you have both Git and Node.js (6.16.0) installed.
Example of node install using nvm
:
nvm install 6.16.0
nvm use 6.16.0
- Install the build module by npm:
npm install
Build TAU by running the following command in the tau directory:
npm run build
run:
npm run test
run:
npx grunt test --single_test=path/to/test.html
run:
npm run test:karma
modify:
tests/karma/single.conf.path.js
run:
npm run test:karma-single-test
In order to set additional logging in TAU you need to build TAU with --tau-debug option
npx grunt build --tau-debug
UIComponents sample web application demonstrating how to implement UI Components for wearable based on TAU.
Demo application is available on https://samsung.github.io/TAU:
- https://code.tizen.org/TAU/1.2/examples/mobile/UIComponents/ (Mobile)
- https://code.tizen.org/TAU/1.2/examples/wearable/UIComponents/ (Wearable)
If you want to test your own version of demo app it is available under following paths in repository:
- mobile:
examples\mobile\UIComponents
- wearable:
examples\wearable\UIComponents
In order to test it:
- Install http-server in TAU directory
npm install http-server -g
- Launch server in TAU directory:
npx http-server -p <port> -a localhost
e.g. npx http-server -p 8888 -a localhost
- Visit appropriate site:
http://localhost:PORT/examples/PROFILE/UIComponents/
e.g.
- http://localhost:8888/examples/wearable/UIComponents/
- http://localhost:8888/examples/mobile/UIComponents/
Project has defined eslint rules (.eslintrc.js)
Contribution can be verified using command:
npx grunt eslint
Refer to samsung.github.io/TAU for library usage instructions
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
TAU version comply with Semantic Versioning specification - 2.0
MAJOR.MINOR.PATCH
- MAJOR - assures public API compatibility
- MINOR - adds new functionalities (e.g. new API) with backward compatibility for old API
- PATCH - backward compatible bug fixes
TAU 1.0 is compatible with Tizen 4.0/5.0 Web API TAU 1.1 is compatible with Tizen 5.5 Web API and backward compatible with 4.0/5.0 (apps using Tizen 4.0/5.0 Web API can use TAU 1.1 instead of TAU 1.0)
You can find releases in the releases tab
Tizen_version_number.TAU_version_for_given_Tizen_release.
E.g. in case of TAU for Tizen 5.0: 5.0.0...5.0.10, 5.0.11...
- Authors - AUTHOR
See also the list of contributors who participated in this project.
This project is licensed under MIT except some files under Flora license. For details see COPYING