ZefyrScope.view constructor

ZefyrScope.view(
  1. {ZefyrImageDelegate imageDelegate}
)

Creates a view-only scope.

Normally used in ZefyrView.

Implementation

ZefyrScope.view({ZefyrImageDelegate imageDelegate})
    : isEditable = false,
      _mode = ZefyrMode.view,
      _imageDelegate = imageDelegate;