Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229266

Possible to bind to ion-grid directives?

$
0
0

works great, thank you!
I actually tried something very similar:

<ion-col col-3 [attr.push-3]="shouldPush">

but when binding to a boolean it was resulting in
<ion-col push-3="false">
which triggers push-3 behavior on all columns

I'll have to remember that binding to null causes an attribute to disappear entirely and binding it to an empty string just adds the directive with no associated value.


Viewing all articles
Browse latest Browse all 229266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>