sesaparcours
    Preparing search index...
    • Registers a new extension function that adds a mutator to the block. At register time this performs some basic sanity checks on the mutator. The wrapper may also add a mutator dialog to the block, if both compose and decompose are defined on the mixin.

      Parameters

      • name: string

        The name of this mutator extension.

      • mixinObj: Object

        The values to mix in.

      • Optionalopt_helperFn: () => any

        An optional function to apply after mixing in the object.

      • Optionalopt_blockList: string[]

        A list of blocks to appear in the flyout of the mutator dialog.

      Returns void

      if the mutation is invalid or can't be applied to the block.