Skip to content
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

Two new options: "inset" and "fromCenter" #102

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nrabinowitz
Copy link
Contributor

This implements two new options for the powerTip:

  • inset determines the distance between the arrow and the corner in ne, nw, se, and sw placements (formerly hard-coded to 20px)
  • fromCenter allows tip placement to be pulled closer to the center of the target element's bounding box. Setting fromCenter to 0 puts the tip directly in the center; 1 places it at the edge (the current behavior); and anything in between will place the tip a percentage between the center and the edge.

Ken Kubiak and others added 3 commits February 13, 2014 10:32
…igurable

Conflicts:
	src/placementcalculator.js
so that the build will run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant