highlighter-mixin

The highlighter mixin is a post-processor mixin, compatible with list-mixin. It provides the ability to put some resources at the top of the list, depending of the values of their properties.

Used by:

Attributes

highlight-[field]

Put the resource at the top of the list if [field] is equal to the attribute value.

In this example, all the users with a first_name equal to pierre will be at the beginning of the list.

<solid-display
    data-src="http://server/users/"
    fields="first_name"
    highlight-first_name="pierre"
></solid-display>