@minecraft/server-editor
    Preparing search index...

    Function bindDataSource

    • Beta

      Type Parameters

      Parameters

      • propertyPane: IPropertyPane

        The property pane to bind the property bag to.

      • target: T

        The property bag to bind to the pane.

      Returns T

      Takes the input object (a property bag of values) and bind it to the pane as a data source. UI child elements of the pane will be updated when the values in the object change, and vice versa.