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