(Hi Aaron,)

Apologies for this non-focused subject, but I couldn't think of a
shorter to the point one..

Here's my case slightly modified/simplyfied:
1. I have a simple list with items. These items are just text, like
names of people. I also add a data-image="my-image.jpg" to the list
element.
2. With a class I turn this into a grid view and it fires an
onComplete. In the onComplete I trigger a pagination class that turns
the grid in X pages in a smaller viewport and some controls.
3. I use the onComplete from the paginate class to trigger a final
class (preview) that enriches the grid with images using the data-
attribute.

Let's cut out 2 for now (the pagination part).

When I use Behavior to create the grid. How should I use the complete
event to trigger the 'preview' class for the elements in the grid?
The preview class is dependent on the grid.. if there's no grid, there
are no images.

Rolf

Reply via email to