-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Proposing adding support for a function that will allow a plugin to add/override methods without having to use a long extends chain.
It could look something like this:
ajax.js
export default class Ajax {
get(url, data) {
//...
}
post(url, data) {
//...
}
}app.js
import Ajax from './Plugins/ajax.js';
Domodule.registerPlugin(Ajax);Not sure how we'd handle constructors though.
You think this would be helpful?
Metadata
Metadata
Assignees
Labels
No labels