Interface IRule

interface IRule {
    apply(
        data: (IGroupItem | Readonly<IOrderedGroup>)[],
        availableHeight: number,
        selection: Set<number>,
        topNGetter: ITopNGetter,
    ): IRuleInstance;
    levelOfDetail(
        item: IGroupItem | Readonly<IOrderedGroup>,
        height: number,
    ): "high" | "low";
}

Methods