From 9d50026fa826c6251f69d5260d3a9ef2eec6c4b3 Mon Sep 17 00:00:00 2001 From: Jan Rembold Date: Wed, 9 Dec 2015 14:10:07 +0100 Subject: [PATCH] updated readme --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf19f24..264572f 100644 --- a/README.md +++ b/README.md @@ -115,9 +115,18 @@ onGetWidth: function(){ ``` ---- +### Events -## Attributes +These events get fired: + +| Event | Description | Element | +| ----- | ----------- | ------- | +| ready.responsiveImage | This event fires when the responsive image was initially loaded, fires only once | The picture container | +| all.ready.responsiveImage | This event fires when all responsive images were initially loaded, fires only once | Global - $(window) | +| new.source.responsiveImage | This event fires when the image source was changed | The picture container | + + +### Attributes Following image attributes can be set with there corresponding data attributes.