How can I change the value of no-lines
property dynamically in Ionic?
I have tried:
<ion-item [no-lines]='condition'> test </ion-item>
This gives me an error:
Error: Template parse errors: Can't bind to 'no-lines' since it isn't a known property of 'ion-item'. 1. If 'ion-item' is an Angular component and it has 'no-lines' input, then verify that it is part of this module. 2. If 'ion-item' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. 3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("/div>