Skip to content

Instantly share code, notes, and snippets.

@digiwand
digiwand / keybase.md
Created January 30, 2021 14:49
Keybase proof

Keybase proof

I hereby claim:

  • I am ariellanvu on github.
  • I am ariella (https://keybase.io/ariella) on keybase.
  • I have a public key whose fingerprint is ASBG18VIfFz7Y3mR28Fx8NJHl4NCgdZoFZ-uPYoSnORxrgo

To claim this, I am signing this object:

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
calculatePosition(trigger, content) {
let { top, left, width, height } = trigger.getBoundingClientRect();
let { height: contentHeight } = content.getBoundingClientRect();
let style = {
left: left + width,