How to Toggle buttons in TVOS with TVMLkit JS

I bought the TVOS apprentice guide to get me started on my first TVOS app. I've learned a lot from the guide but am stuck on a few things; the first problem being how to toggle buttons, lol

I'm trying to get a couple buttons to toggle their appearance but I'm having trouble getting my code right. So far, I've tried to add "toggle" as an attribute that could be targeted by the handleEvent method in eventHandler.js and I've also tried to add new values to the presentation attribute in presenter.js but both have had no effect.

I'd appreciate it if anyone can walk me through how to go about this. Thanks.

@jozenua Do you still have issues with this?

This topic was automatically closed after 166 days. New replies are no longer allowed.