-
-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pure angular-style tooltip #28
Comments
@igler angular-strap requires jquery + bootstrap.js, I'm not happy to pull these dependencies. |
Can you please give me a hint where to start? In my case I need a popup for every element that is marked as x-editable. This is because I use them in a table and I want to prevent that the table column border jump back and forth. |
Basically, to have popup you should change Please feel free to fork the repo and try to add popup. I would be happy to help and merge |
The tooltip.js library renders the following code when clicking the element:
I have tried it with an input-element and then the code looks like this:
Do we want to add an attribute And, am I right that we do not need a new directive but just change the way things are display? |
|
The HTML-code would look like this:
Cannot find BTW the function |
Maybe less than ideal but I needed popover styles for text and select elements. I just modified some CSS as a short term solution (it's very manual sizing / layout). http://jsfiddle.net/EWcUw/4/ |
That would work in my case but I am having the problem that it does not recognize the borders of the accordion element it is in. This means, that it partially disappears under the left border of the accordion. I there a way to make it dynamic so it adopts its environment? |
If I understand correctly, it would be possible to re-position the popover based on the layout of the container (saying the popover would be on the left of the link or below it etc etc) but I think it would be a bit more javascript and couldn't be solved as easily with just CSS. One other thing (and this may look terrible) is this something where you can adjust the z-index of the accordion and the popover so that the popover would show up on top? |
@ryanlanciaux looks very nice! it should be definetly added in future version. |
No, it does not. All have problems recognizing the accordion container. But as a workaround instead of centering the popup over the item it would be good to have an alignment parameter. Left-align would mean, that the left side of the item you click on and the left border of the popup have one common x-value. Together with the placement parameters (top, bottom, left and right) I could do a very fine grained adjustment. |
@vitalets Thanks! I appreciate all your incredible work on these plugins! |
I have found some additional alignment options here: https://github.com/dkleehammer/bootstrap-popover-extra-placements |
We need wait this pull request to be merged angular-ui/bootstrap#1046 to allow use html in popover content |
Any updates on this? |
@amb110395 +1 |
FYI: Angular-straps no longer requires bootstrap or jQuery |
Looks like the: "popup mode (waiting angular-ui/bootstrap#1391)" and also "merged angular-ui/bootstrap#1046" is now merged. hope someone can give it a kick, currently to new to get the big picture of this :) |
Hi guys, thanks for this great component! Somebody has some update? |
Closed as being too old |
@mitcht Could you review why do you close it? I think being old doesn't mean nobody need it. If it was solved, tag it, if not, please leave it open. |
There are 226 issues. I'm trying to close a few. If they pop up again, we'll work on them. Sorry. |
Hi you once said that it would be nice to find some "pure angular-style tooltip" to fork in order to be able to wrap things in popups. Maybe this http://mgcrea.github.io/angular-strap/#/popover or https://github.com/angular-ui/bootstrap/tree/master/src/tooltip is helpful?
The text was updated successfully, but these errors were encountered: