detachEditable method

void detachEditable(
  1. String selector
)

Detach jQuery selectors from Aloha to make previous editables non-editable entities. If they were previously editable they will be destroyed.

Implementation

void detachEditable(String selector) {
  if (!_ready) throw AlohaException(AlohaException.notReady);
  js.context.callMethod(r'$', [selector]).callMethod('mahalo');
}