Skip to content

Instantly share code, notes, and snippets.

View jas7457's full-sized avatar

Jason Addleman jas7457

View GitHub Profile
@jas7457
jas7457 / components.test\.js
Last active July 9, 2021 13:29 — forked from mastastealth/components.test\.js
Select All Shenanigans
import Component from "@glimmer/component";
import { action } from "@ember/object";
import { tracked } from "@glimmer/tracking";
export default class Test extends Component {
@tracked selectedFiles = [];
files = ["a", "b", "c"];
@action
handleFileToggle(file) {