mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-29 04:50:14 +00:00
20 lines
370 B
JavaScript
20 lines
370 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");
|
|
}
|
|
}
|
|
|
|
export default ToggleButton;
|