In case you will need to manipulate slider outside of it's context. You can use simple API: