side="left" not working
Closed this issue · 5 comments
frankthelen commented
Hi!
I am using angular-timeline 1.6.1.
Putting side="left" on the has no effect; the timeline is still rendered left-and-right (unless max-width 767px).
This is my markup:
<timeline>
<timeline-event ng-repeat="event in events" side="left">
<timeline-badge>...</timeline-badge>
<timeline-panel>...</timeline-panel>
</timeline-event>
</timeline>
Thanks,
Frank
rpocklin commented
It needs an angular variable - try putting it in quotes ie. side="'left'"
frankthelen commented
Hmmm, side="'left'"
doesn't work either.
rpocklin commented
Can you make a plunkr?
bortexz commented
Same happens to me, side directive is not working.
rpocklin commented
You're right, a commit was missed, sorry guys. Fixed in v1.6.2
.
No need for quotes, use side="left"
side="right"
or `side="{{ exp }}"
Thanks for reporting it :)