• Registers a bindable.

    Parameters

    • name: string

      The name of the bindable.

    • Rest ...defaultBindings: Binding[]

      The default bindings of the bindable.

      For example, @Register.bindable("Cut", { key: "KeyX" }) public bindableCut: Bindable;

      The decorated property will be injected with the id of the registered note.

    Returns (<K, T>(target: T, key: K) => void)

      • <K, T>(target: T, key: K): void
      • Type Parameters

        • K extends string | number | symbol

        • T extends Record<K, default>

        Parameters

        • target: T
        • key: K

        Returns void

Generated using TypeDoc