Properties

containerSelector

containerSelector: ElementSelector | ElementSelector[];

The selector(s) for the container elements of the list, all list items should be direct children of this container.


propertySelectors

propertySelectors: Record<string, ValueSelector | ValueSelector[]>;

The selectors for the properties to extract. the values of the selector should be relative to the list item.

example: if the list was:

<ul>
<li>
 <div class="title">title 1</div>
 <div class="price">price 1</div>
</li>
<li>
 <div class="title">title 2</div>
 <div class="price">price 2</div>
</li>
</ul>

the css relative selectors should be:

title -> .title

price -> .price