🏳️🌈
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Controller from '@ember/controller'; | |
import { action } from "@ember/object"; | |
import { tracked } from "@glimmer/tracking"; | |
import { schedule } from "@ember/runloop"; | |
export default class ApplicationController extends Controller { | |
name = ""; | |
@tracked nameSetInValidateName = ""; | |
@tracked error = "Name must be at least 3 charaters"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Controller from '@ember/controller'; | |
import { action } from '@ember/object'; | |
import { tracked } from '@glimmer/tracking'; | |
export default class ApplicationController extends Controller { | |
appName = 'Ember Twiddle'; | |
@tracked counter = 0; | |
@action |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
classNames: 'my-component', | |
didReceiveAttrs() { | |
this._updateVariables(); | |
}, | |
didInsertElement() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 1 1 | |
1 1 2 | |
1 1 3 | |
1 1 4 | |
1 1 5 | |
1 1 6 | |
1 1 7 | |
1 1 8 | |
1 1 9 | |
1 1 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 1 1 | |
1 1 2 | |
1 1 3 | |
1 1 4 | |
1 1 5 | |
1 1 6 | |
1 1 7 | |
1 1 8 | |
1 1 9 | |
1 1 10 |