锦水大屏
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
307 B

2 years ago
import Node from '../../nodes/core/Node.js';
class SlotNode extends Node {
constructor( node, name, nodeType ) {
super( nodeType );
this.node = node;
this.name = name;
}
generate( builder ) {
return this.node.build( builder, this.getNodeType( builder ) );
}
}
export default SlotNode;