Skip to content

Instantly share code, notes, and snippets.

View ejuher's full-sized avatar

Erich Uher ejuher

View GitHub Profile
@ejuher
ejuher / components.connection-rater\.js
Last active August 3, 2022 19:26 — forked from gerry3/components.connection-rater\.js
Connection Rater Interview
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
// 1) Apply the class "alert-info" to the first connection