lock method

Future lock (
  1. String orientation
)

Implementation

Future lock(String orientation) =>
    promiseToFuture(JS("", "#.lock(#)", this, orientation));