We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class
.extend
In general, the following pattern should be avoided:
export default class PersonComponent extends Component.extend({ fullName: computed({ get() { return `${this.firstName} ${this.lastName}`; } }) }) { firstName = 'Diana'; lastName = 'Prince'; }
However, it is valid to pass a number of mixins to .extend()
.extend()
export default class PersonComponent extends Component.extend(FullNameMixin, OtherMixin) { firstName = 'Diana'; lastName = 'Prince'; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In general, the following pattern should be avoided:
However, it is valid to pass a number of mixins to
.extend()
The text was updated successfully, but these errors were encountered: