angular-timeline icon indicating copy to clipboard operation
angular-timeline copied to clipboard

left and right label for each node

Open aszharite opened this issue 9 years ago • 4 comments

Hello,

I was wondering if it is possible to display both labels on left and right side of a node at the same time? This can be used when you have two storyboards and would like to show summary from both of them for each node.

Thanks

aszharite avatar Jan 20 '16 13:01 aszharite

Not really, haven't had many people ask for this one. How would you know when to show it on the same line?

rpocklin avatar Feb 24 '16 21:02 rpocklin

At the current iteration, you can specify a side on the timeline-event element. If you move that to the timeline-panel and have 2 panels one with side=right and one with side=left i think it would work

aszharite avatar Feb 25 '16 09:02 aszharite

Happy to look at a PR.

rpocklin avatar Jun 15 '16 22:06 rpocklin

Since there's been some interest, i've spiked an implementation on the branch same-side-panel - it's using <timeline-row> which would have two <timeline-panel>...</timeline-panel><timeline-badge>...</timeline-badge>...<timeline-panel>...</timeline-panel> inside it (spanning the whole row).

Be great to get feedback, here's a screenshot. screen shot 2016-09-07 at 8 25 07 am

Only current problem I can see with it is what happens < 768px - what do you think it should do?

rpocklin avatar Sep 06 '16 22:09 rpocklin