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

@@ -5,9 +5,16 @@ import { Path } from '../model/Path'
import { IObject } from './ObjectNode'
import { locale } from '../Registries'
/**
* List node where children can be added and removed from
*/
export class ListNode extends AbstractNode<IObject[]> {
protected children: INode<any>
/**
* @param values node used for its children
* @param mods optional node modifiers
*/
constructor(values: INode<any>, mods?: NodeMods<IObject[]>) {
super({
default: () => [],