Function tweakFlip

  • Tweak to flip the layout in several ways

    • diagonal : flips x and y coordinates turning x into y
    • horizontal : inverts x
    • vertical : inverts y

    Parameters

    • style: "diagonal" | "horizontal" | "vertical" = "diagonal"

    Returns Tweak<unknown, unknown>