Key navigation in caph 3

399 Views Asked by At

I am working on an application for samsung tv using caph 3 and jquery. I am getting this error in console.

 Uncaught TypeError: $.caph.focus.init is not a function

code:

$(document).ready(function() {
    $.caph.focus.init(function(nearestFocusableFinderProvider, controllerProvider) {
        // Not Working
    });
 });

While other functions are working fine like this...

$(document).ready(function() {   
 $.caph.focus.activate(function(nearestFocusableFinderProvider, controllerProvider) {  
        // working
    });
});

I would like to thank you if someone suggest me why am I getting this error. I have googled but no luck.

Thank you

0

There are 0 best solutions below