@vivliostyle/core
    Preparing search index...

    Interface ConditionItem

    An object that is notified as elements are pushed and popped and typically controls a "named condition" (which is a count associated with a name).

    interface ConditionItem {
        fresh(cascadeInstance: CascadeInstance): ConditionItem;
        pop(cascadeInstance: CascadeInstance, depth: number): boolean;
        push(cascadeInstance: CascadeInstance, depth: number): boolean;
    }

    Implemented by

    Index

    Methods

    Methods

    • Depth is 0 for element itself and its siblings, 1 for direct children and -1 for the parent.

      Parameters

      Returns boolean