Skip to content

Instantly share code, notes, and snippets.

View billpull's full-sized avatar

Bill Pullen billpull

  • ParlayPlay
  • Miami, FL
View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
classNames:['cx-modal'],
attributeBindings: ['tabindex:tabindex','role:role'],
role:'dialog',
tabindex:0,
didRender(){
this.$().children().first().focus();
},
@billpull
billpull / keybase.md
Created June 27, 2018 15:16
keybase.md

Keybase proof

I hereby claim:

  • I am billpull on github.
  • I am billpull (https://keybase.io/billpull) on keybase.
  • I have a public key ASAnKPctP_bKIvB6RC1841xeWz3rB_NC_hVpFcKiDLJFDwo

To claim this, I am signing this object:

@billpull
billpull / PositionProvider.ts
Last active January 26, 2023 00:34
Capacitor Use Watch Position w/ Fallback to Get Current Position
const PositionProvider: React.FC = ({ children }) => {
const position = useCurrentPosition();
return (
<WatchLocationContext.Provider value={position}>
{children}
</WatchLocationContext.Provider>
);
};