I have tried to show a left drawer in a Steroids Supersonic example application. I don't have tabs, I use a root view.
I use the following code in the structure.coffee
file (this is the only file I changed):
# Read more about app structure at http://docs.appgyver.com
module.exports =
# See styling options for tabs and other native components in app/common/native-styles/ios.css or app/common/native-styles/android.css
rootView:
location: "example#getting-started"
preloads: [
{
id: "learn-more"
location: "example#learn-more"
}
{
id: "using-the-scanner"
location: "example#using-the-scanner"
}
]
drawers:
left:
id: "leftDrawer"
location: "example#drawer"
showOnAppLoad: false
options:
animation: "swingingDoor"
initialView:
id: "initialView"
location: "example#initial-view"
Nothing shows up on the left side. If I change the showOnAppLoad
to true, nothing is visible.
What else should I set?
It was a coffeescript error: the creators of the framework were so smart that the compilation depends on indentation. Great thinking...very constructive.