--- layout: default nav: attributes > ic-select-from-response ---

ic-select-from-response - The Response Selector Attribute

Summary

The response selector attribute can be used to select content from a server response to swap into the DOM.

Syntax

The value of the attribute should be a valid selector of the content to insert

This attribute may be placed on parent elements, allowing you to specify behavior across multiple elements.

Example

Here is a simple example of a response selector filtering a full HTML document for a list:

  • Initial Item 1
  • Initial Item 3