I don't see anything wrong with your approach. I've tried it on this test page and it appears to work:
Do you get any error messages in the console?
We'll add documentation for these methods as soon as possible.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI