Perseus
    Preparing search index...
    • For the given (string) widget type, determine the default alignment for the widget. This is used at rendering time to go from "default" alignment to the actual alignment displayed on the screen.

      The default alignment is given either as a string (called defaultAlignment) or a function (called getDefaultAlignment) on the exports of a widget's module.

      Parameters

      • type: string

      Returns Alignment