@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
22 lines • 610 B
JavaScript
import { Category } from "../Category.js";
import { ACPOption } from "./ACPOption.js";
/**
* Represents an option-category for the control-panel.
*/
export class ACPCategory extends Category {
/**
* Initializes a new instance of the {@link ACPCategory `ACPCategory`} class.
*
* @param node
* The node of the category.
*
* @param options
* The options of the category.
*/
constructor(node, options) {
super(node, options, (category, opts) => {
return new ACPOption(category, opts);
});
}
}
//# sourceMappingURL=ACPCategory.js.map