To use it would be fine. But, it would take a bit of work implementing it within a Hype document.
element.id = "container";
This should get you started and you can follow the instructions at the link you provided to instantiate, etc. I haven’t got much time at the moment to provide an example. But, if you try it yourself and then come back for some help I can try and show you something.