Skip to content

Instantly share code, notes, and snippets.

@alias-mac
alias-mac / components.my-component\.js
Last active June 25, 2021 01:41 — forked from Eric162/components.my-component\.js
Multi action in 1 event in component
import Component from '@glimmer/component';
export default class extends Component {
}
@alias-mac
alias-mac / README.md
Last active June 5, 2020 10:31
Ember Twiddle Demo: Mirage with Ember Twiddle

Ember Twiddle Demo: Mirage with Ember Twiddle

Demo

This is a very trivial example of using mirage with Ember Twiddle.

import Component from '@ember/component';
export default Component.extend({
tagName: 'button',
attributeBindings: [
'isDisabled:disabled',
'onClick:click',
'type'
],
isDisabled: false,
import Ember from 'ember';
export default Ember.Component.extend({});