rubenv / angular-rt-popup

A better version of the Bootstrap popover, for Angular.JS
MIT License
22 stars 14 forks source link

Add bottom-left placement #5

Closed cdjackson closed 9 years ago

rubenv commented 9 years ago

How should I interpret bottom-left?

rubenv commented 9 years ago

As in: what's the difference with other placements?

cdjackson commented 9 years ago

It puts the popover in the bottom-left of the parent. If you use bottom, it’s centered in the parent (width wise) and if you use left, it’s off to the left. In my application, I’ve got a table and I want the popup to be below the line when clicked, but I want it on the left side of the screen - not in the middle (which would happen with bottom) as the popup might be wide…

The picture shows this (hopefully)…

(and thanks for the nice directive by the way - this should be a standard feature)

cdjackson commented 9 years ago

The picture didn't come through off the email...

screen shot 2015-01-09 at 12 10 29

rubenv commented 9 years ago

Makes sense. Could you fix the build failures? Looks good to merge then.

cdjackson commented 9 years ago

Thanks - will do (probably a little later).

rubenv commented 9 years ago

Released to NPM as angular-rt-popup@1.0.1.

Thanks a lot!