Contents

default

The default strategy based on the context it is used in.

Declaration

static let `default`: Text.AlignmentStrategy

Discussion

The default strategy for Text is layoutBased. UI components that accept user input, such as TextEditor and TextField, default to writingDirectionBased.