javascript - CAPH API widgets in Samsung TV SDK -


i have made simple caph project consists of page has 3x3 containing images. want able when focus on image. far have read documentation unable understand.

what want reduce opacity of image when focused.

this code needs edited:

page1_page.prototype.image_3fzrc_onfocus = function() {     //should reduce image opacity don't know how reference image } 

thank you.

ps: used visual editor

edit: did nothing happens.

page1_page.prototype.image_3fzrc_onfocus = function() {     imgspring= caph.wui.widget._component.getwidgetbyid("image_3fzrc");     imgspring.setopacity(0.5); }; 


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -