Steroids: supersonic.ui.drawers.init rejected: {} -


i'm new steroids , want navigation drawer automatically opened once initialized (angularjs module drawer named "profile-filter-drawer").

here code:

angular   .module('profile-list')   .controller('indexcontroller', function($scope, supersonic) {          var draweroptions = {             side: "left",             width: 150         }          supersonic.ui.drawers.init("profile-filter-drawer#index", draweroptions).then(function()         {             supersonic.ui.drawers.open("left");         });  }); 

i keep getting log in steroids connect , dont understand why or how fix it.

supersonic.ui.drawers.init rejected: {} 

note: navigation drawer working (the angularjs module valid) if instantiated in structure.coffee not angularjs controller.

thanks

if still have drawer code in structure.coffee trying instantiate drawer of same type rejected. wrong on this, same happens when trying push views exist on stack.

this related github issue pushing views onto stack , them being rejected.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -