moveLayer method

dynamic moveLayer(
  1. String id, [
  2. String? before
])

Moves a layer to a different z-position. The layer will be inserted before the layer with ID before, or appended if before is omitted. @param {string} id ID of the layer to move @param {string} before ID of an existing layer to insert before

Implementation

moveLayer(String id, [String? before]) => jsObject.moveLayer(id);