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

Inside Template giving error #256

Open
sridhar-v9 opened this issue Feb 6, 2019 · 0 comments
Open

Inside Template giving error #256

sridhar-v9 opened this issue Feb 6, 2019 · 0 comments

Comments

@sridhar-v9
Copy link

Hi,

iam able to write the following code inside render method with out having errors.
{ elem.props.tabicon!==undefined && <span class={elem.props.tabicon}></span> }

But the same is giving the compilation error in the template. Please suggest me how i can write the above code in template with out using "rt-if"

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

1 participant