|
@@ -54,7 +54,14 @@ It is not presumed one would use `setToXxx`
|
|
to actually move around in a single instance.
|
|
to actually move around in a single instance.
|
|
It is envisioned this API will be used mostly
|
|
It is envisioned this API will be used mostly
|
|
in combination with `copy`, like
|
|
in combination with `copy`, like
|
|
-`afterMe := self copy setToAfter`.!
|
|
|
|
|
|
+`afterMe := self copy setToAfter`.
|
|
|
|
+
|
|
|
|
+Event API:
|
|
|
|
+
|
|
|
|
+ - `aDomite on: aString bind: [ :ev | ... ]` binds a block to process an event.
|
|
|
|
+ - `aDomite off: aString unbind: aBlock` unbinds the block from processing an event.
|
|
|
|
+ - `aDomite fire: aString [detail: anObject]` triggers a CustomEvent with specified type and, optionally, a detail object.
|
|
|
|
+ - `aDomite fireEvent: anEvent` triggers existing DOM Event object!
|
|
|
|
|
|
!Domite methodsFor: 'accessing'!
|
|
!Domite methodsFor: 'accessing'!
|
|
|
|
|