mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-25 16:16:50 +00:00
Add documentation
This commit is contained in:
@@ -3,8 +3,14 @@ import { Path } from "../model/Path";
|
||||
import { TreeView } from "../view/TreeView";
|
||||
import { locale } from "../Registries";
|
||||
|
||||
/**
|
||||
* Boolean node with two buttons for true/false
|
||||
*/
|
||||
export class BooleanNode extends AbstractNode<boolean> {
|
||||
|
||||
/**
|
||||
* @param mods optional node modifiers
|
||||
*/
|
||||
constructor(mods?: NodeMods<boolean>) {
|
||||
super({
|
||||
default: () => false,
|
||||
|
||||
Reference in New Issue
Block a user