Languages

Menu
Sites
Language
AngularJS & Bootstrap supported on Tizen Web App?

Did the Tizen Web App framework support the third part javascript MVC framework? Such as the AngularJS and CSS framework Bootstrap. 

Responses

5 Replies
AVSukhov

Hello,

Yes, you can use Angular JS in your project.

Alex Dem

Hi,
just fyi: try to look here, there are useful links also:
https://developer.tizen.org/forums/web-application-development/tizen-angularjs-works-web-apps
Alexey.

colin Rao

Hi All, many thanks for your response.

One more question, did the tizenhwkey hard key event can works fine when I use the AngularJS in Tizen Web App? as below sample code,

    var backEvent = function(e) {
        if ( e.keyName == "back" ) {
            try {
                if ( $.mobile.urlHistory.activeIndex <= 0 ) {
                    // if first page, terminate app
                    unregister();
                } else {
                    // move previous page
                    $.mobile.urlHistory.activeIndex -= 1;
                    $.mobile.urlHistory.clearForward();
                    window.history.back();
                }
            } catch( ex ) {
                unregister();
            }
        }
    }
    
    // add eventListener for tizenhwkey (Back Button)
    document.addEventListener( 'tizenhwkey', backEvent );

 

Alex Dem

Hi,
Yes, angular should not affect on hard key event.
Alexey.

AVSukhov

Hello,

tizenhwkey event will also be generated. But it may be different processing using routing and $location.