AceSession class
class AceSession extends jsw.TypedProxy { static AceSession cast(js.Proxy proxy) => proxy == null ? null : new AceSession.fromProxy(proxy); AceSession.fromProxy(js.Proxy proxy) : super.fromProxy(proxy); set mode(String m) => $unsafe.setMode(m); set useWrapMode(bool b) => $unsafe.setUseWrapMode(b); set useSoftTabs(bool b) => $unsafe.setUseSoftTabs(b); set tabSize(int size) => $unsafe.setTabSize(size); StreamController _onChange; get onChange { if (_onChange != null) return _onChange.stream; _onChange = new StreamController(); $unsafe.on('change', new js.Callback.many((e,a){ _onChange.add(e); })); return _onChange.stream; } }
Extends
TypedProxy > AceSession
Static Methods
AceSession cast(Proxy proxy) #
static AceSession cast(js.Proxy proxy) => proxy == null ? null : new AceSession.fromProxy(proxy);
Constructors
new AceSession.fromProxy(Proxy proxy) #
AceSession.fromProxy(js.Proxy proxy) : super.fromProxy(proxy);
Properties
dynamic set mode(String m) #
set mode(String m) => $unsafe.setMode(m);
final onChange #
get onChange { if (_onChange != null) return _onChange.stream; _onChange = new StreamController(); $unsafe.on('change', new js.Callback.many((e,a){ _onChange.add(e); })); return _onChange.stream; }
dynamic set tabSize(int size) #
set tabSize(int size) => $unsafe.setTabSize(size);
dynamic set useSoftTabs(bool b) #
set useSoftTabs(bool b) => $unsafe.setUseSoftTabs(b);
dynamic set useWrapMode(bool b) #
set useWrapMode(bool b) => $unsafe.setUseWrapMode(b);