jquery - Showing notification independently of the current view PhoneJS? -
i'm using phonejs make mobile web app. requires login, , i'd show 'toast' message result (error, success, etc)
if login successful, shows 'success' toast message, , navigates main view of app. problem is, toast message hidden main view loaded. i'd show full 3 seconds, not stop view loaded.
so basically:
login successful
show toast message ("welcome, john!") while loading main view
main view loaded, continue showing toast message until time (3 sec)
here's javascript run if there successful login:
devexpress.ui.notify("welcome, logged in", "success", 3000 );//i've tried , dxtoast, same result both appnamespace.app.navigate("main", { root: true });
the namespace , view correct, , i've tried both ways show notification. show replaced "main" view. want notification show view loading, , continue show after view loaded (until 3 seconds).
the toast message seems part of 'login' view, want show independently of view. can accomplished? thanks!
there similar bug report @ devexpress support center:
b238003 - devexpress.ui.notify: notification hidden when view changed.
it marked fixed, , updated build available download.
Comments
Post a Comment