Skip to content

Instantly share code, notes, and snippets.

View fxu12's full-sized avatar

Funing Xu fxu12

  • Sunnyvale, California
View GitHub Profile
h scroll left
j scroll down
k scroll up
l scroll right
gg scroll to top of the page
G scroll to bottom of the page
f activate link hints mode to open in current tab
F activate link hints mode to open in new tab
r reload
@fxu12
fxu12 / controllers.application.js
Last active December 15, 2022 12:43
New Twiddle
import Ember from 'ember';
const values = [
0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100
];
export default Ember.Controller.extend({
sliderIndex: 1,
values: Ember.computed('sliderIndex', function() {