Hosanna UI API v2.3.0-next
    Preparing search index...

    Interface IConstraintRule

    interface IConstraintRule {
        args: (string | number)[];
        fn:
            | "pin"
            | "fillX"
            | "fillY"
            | "inset"
            | "matchSize"
            | "matchFrame"
            | "aspectRatio"
            | ConstraintFunctionName;
        options?: IConstraintRuleOptions;
        property: "width"
        | "height"
        | ConstraintProperty
        | "x"
        | "y";
        viewId: string;
    }
    Index

    Properties

    args: (string | number)[]
    fn:
        | "pin"
        | "fillX"
        | "fillY"
        | "inset"
        | "matchSize"
        | "matchFrame"
        | "aspectRatio"
        | ConstraintFunctionName
    property: "width" | "height" | ConstraintProperty | "x" | "y"
    viewId: string