mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
Add documentation
This commit is contained in:
@@ -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: () => [],
|
||||
|
||||
Reference in New Issue
Block a user