Skip to content

Instantly share code, notes, and snippets.

@anuith
Created December 21, 2012 05:04
Show Gist options
  • Save anuith/4350766 to your computer and use it in GitHub Desktop.
Save anuith/4350766 to your computer and use it in GitHub Desktop.
var selectionRect = event.srcElement.getBoundingClientRect();
var buttonCoordinates = { x: selectionRect.left, y: selectionRect.top, width: selectionRect.width, height: selectionRect.height };
var placement = Windows.UI.Popups.Placement.above;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment