Perseus
    Preparing search index...

    Type Alias PerseusMatcherWidgetOptions

    Options for the matcher widget. Two-column drag-and-drop matching.

    type PerseusMatcherWidgetOptions = {
        labels: string[];
        left: string[];
        orderMatters: boolean;
        padding: boolean;
        right: string[];
    }
    Index

    Properties

    labels: string[]

    Translatable Text; Labels to adorn the headings for the columns. Only 2 values [left, right]. e.g. ["Concepts", "Things"]

    left: string[]

    Translatable Text; Static concepts to show in the left column. e.g. ["Fruit", "Color", "Clothes"]

    orderMatters: boolean

    Order of the matched pairs matters. With this option enabled, only the order provided above will be treated as correct. This is useful when ordering is significant, such as in the context of a proof. If disabled, pairwise matching is sufficient. To make this clear, the left column becomes fixed in the provided order and only the cards in the right column can be moved.

    padding: boolean

    Adds padding to the rows. Padding is good for text, but not needed for images.

    right: string[]

    Translatable Markup; Values that represent the concepts to be correlated with the concepts. e.g. ["Red", "Shirt", "Banana"]