Skip to content

Instantly share code, notes, and snippets.

import Component from '@glimmer/component';
export default class extends Component {
constructor() {
super(...arguments);
// connections is provided here and is the same as @connections in the hbs file
const connections = this.args.connections
connections[0].active = true
let connectionsIndex = 0