weasel API - v0.8.0
    Preparing search index...

    Function createSetLayerOp

    • Op: set a node's layer tag, inverting back to from. coalesceKey defaults to setLayer:${id} so successive layer changes to the same node merge into one undo entry within the history's coalesce window. Pass an explicit key to opt out.

      Parameters

      • args: SetLayerArgs

      Returns Op