gridstack - v12.3.3
    Preparing search index...

    Type Alias DDDropOpt

    Drag & Drop options for drop targets. Configures which elements can be dropped onto a grid.

    type DDDropOpt = {
        accept?: (el: GridItemHTMLElement) => boolean;
    }
    Index

    Properties

    Properties

    accept?: (el: GridItemHTMLElement) => boolean

    Function to determine if an element can be dropped (see GridStackOptions.acceptWidgets)