webamp/modern/src/runtime/ToggleButton.js
Jordan Eldredge 2790a2995b Stub Out Missing Methods (#887)
* Add fixable rule to report missing Maki methods

* Stub out missing methods

These were auto-generated with the ESLint rule

* Don't lint on too many params, when the params are defined by Maki

* Improve objects tests now that all maki methods are stubbed out

Now we can assume all methods exist and we can also start a list of unimplemented methods
2019-11-30 13:42:53 -08:00

25 lines
448 B
JavaScript

import Button from "./Button";
import { unimplementedWarning } from "../utils";
class ToggleButton extends Button {
/**
* getclassname()
*
* Returns the class name for the object.
* @ret The class name.
*/
getclassname() {
return "ToggleButton";
}
ontoggle(onnoff) {
unimplementedWarning("ontoggle");
}
getcurcfgval() {
unimplementedWarning("getcurcfgval");
return;
}
}
export default ToggleButton;