123456789101112131415161718 |
- import Component from '@glimmer/component';
- import { action } from '@ember/object';
- import { tracked } from '@glimmer/tracking';
-
- export default class RezeptController extends Component {
- @tracked isLarge = false;
- @tracked isSelected = false;
-
- @action toggleSize()
- {
- this.isLarge = !this.isLarge;
- }
-
- @action toggleSelection()
- {
- this.isSelected = !this.isSelected;
- }
- }
|