mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
* 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
25 lines
448 B
JavaScript
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;
|