You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
The text was updated successfully, but these errors were encountered:
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"
The text was updated successfully, but these errors were encountered: