I am fresher in titanium for mac os x.
I am using titanium first time and do not have any knowledge on js pages and action event’s
I am setup titanium and add button. On button click i need to navigate to another js page
var btn = Ti.UI.createButton({
left:10,
top:100,
height:'40',
width:'80',
title:'login',
color:'auto'
}
)
self.add(lbl);
btn.addEventListener('click',function() {
}
)
let example consider second js page is login.js page
when i click button i need to login.js page
with navigation effect!
@ thanks in advance
Use below code
Hope this helps you