Hipster MVChipster_collectionCollectionEvent

CollectionEvent class

class CollectionEvent implements Event {
  String _type;
  HipsterCollection collection;
  HipsterModel _model;

  CollectionEvent(this._type, this.collection, {model}) {
    _model = model;
  }

  String get type =>_type;

  HipsterModel get model => _model;
}

Implements

Event

Constructors

new CollectionEvent(String _type, HipsterCollection collection, [model]) #

CollectionEvent(this._type, this.collection, {model}) {
  _model = model;
}

Properties

final bool bubbles #

inherited from Event

@domName Event.bubbles

bool get bubbles;

final bool cancelable #

inherited from Event

@domName Event.cancelable

bool get cancelable;

bool cancelBubble #

inherited from Event

@domName Event.cancelBubble

bool cancelBubble;

final Clipboard clipboardData #

inherited from Event

@domName Event.clipboardData

Clipboard get clipboardData;

HipsterCollection collection #

HipsterCollection collection;

final EventTarget currentTarget #

inherited from Event

@domName Event.currentTarget

EventTarget get currentTarget;

final bool defaultPrevented #

inherited from Event

@domName Event.defaultPrevented

bool get defaultPrevented;

final int eventPhase #

inherited from Event

@domName Event.eventPhase

int get eventPhase;

final HipsterModel model #

HipsterModel get model => _model;

bool returnValue #

inherited from Event

@domName Event.returnValue

bool returnValue;

final EventTarget srcElement #

inherited from Event

@domName Event.srcElement

EventTarget get srcElement;

final EventTarget target #

inherited from Event

@domName Event.target

EventTarget get target;

final int timeStamp #

inherited from Event

@domName Event.timeStamp

int get timeStamp;

final String type #

@domName Event.type

docs inherited from Event
String get type =>_type;

Methods

void preventDefault() #

inherited from Event

@domName Event.preventDefault

void preventDefault();

void stopImmediatePropagation() #

inherited from Event

@domName Event.stopImmediatePropagation

void stopImmediatePropagation();

void stopPropagation() #

inherited from Event

@domName Event.stopPropagation

void stopPropagation();

void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) #

inherited from Event

@domName Event.initEvent

void $dom_initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg);