Pablo

trigger(name, fn, [useCapture])

Trigger an event bound to a Pablo Collection via its name.

var rect = Pablo.rect();

rect.on('foo', function () {
    alert('triggered');
});

rect.trigger('foo');
Painting is just another way of keeping a diary.
Pablo Picasso