Add documentation

This commit is contained in:
Misode
2020-05-30 02:53:22 +02:00
parent ba5f9638c0
commit c91e0a5300
14 changed files with 241 additions and 1 deletions

View File

@@ -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,