Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of calling Action from a fucntion? #20

Closed
CoreSoft2 opened this issue Oct 14, 2015 · 9 comments
Closed

Example of calling Action from a fucntion? #20

CoreSoft2 opened this issue Oct 14, 2015 · 9 comments

Comments

@CoreSoft2
Copy link

do you have a working example of action (simple ones will do like pop) from a page?

@aksonov
Copy link
Owner

aksonov commented Oct 14, 2015

Just Actions.NAME where NAME is action name attribute defined as for Route or Action element, and its schema="popup"

@aksonov
Copy link
Owner

aksonov commented Oct 14, 2015

Check example project from the repository

@aksonov aksonov closed this as completed Oct 14, 2015
@CoreSoft2
Copy link
Author

Found answer, Actions.NAME only works onpress= .... it does nothing, if you can call from your own function.

if you have own function, & processing, you have to use Actions.NAME(this);

@nagendrakk
Copy link

how to pass data while using action in own function

@aksonov
Copy link
Owner

aksonov commented Oct 28, 2015

Have you tried Actions.name(DATA) ?

@nagendrakk
Copy link

I tried like this, Actions.name(this,data),but that did not work

@aksonov
Copy link
Owner

aksonov commented Oct 29, 2015

No, it is not correct, check examples.

29 окт. 2015 г., в 8:37 AM, nagendrakk notifications@github.com написал(а):

I tried like this, Actions.name(this,data)


Reply to this email directly or view it on GitHub #20 (comment).

@nagendrakk
Copy link

hi aksonov, thank you, the above fix worked.

the other issue i'm facing is, unable see navbar in the app,I have followed the steps mentioned in the begining page.

@aksonov
Copy link
Owner

aksonov commented Oct 30, 2015

Could you check demo, where is no navbar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants