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

Marko v3: invoke tag #179

patrick-steele-idem opened this Issue Dec 8, 2015 · 0 comments


None yet
1 participant
Copy link

patrick-steele-idem commented Dec 8, 2015

The tag is used to invoke a JavaScript function. In Marko v2, the tag was also used to invoke a macro, but that will no longer be allowed.

New Synax

<invoke test('World') />
<invoke console.log('Hello World')/>

Old Syntax

<invoke function="test('World')"/>
<invoke function="console.log('Hello World')"/>

@patrick-steele-idem patrick-steele-idem modified the milestone: 3.0 Dec 22, 2015

@patrick-steele-idem patrick-steele-idem self-assigned this Jan 7, 2016

patrick-steele-idem added a commit that referenced this issue Jan 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.