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"
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"