ic-sse-src - The Server Sent Event Source Attribute

Summary

The ic-sse-src attribute binds a given HTML element to a given Server Sent Event source.

When the Server Sent Event source sends a message, the content of that message will be swapped into the element the attribute is on, using the swap strategy specified.

When the Server Sent Event source sends an event, any child elements listening for that event will be triggered.

See the documentation for more details.

Syntax

The value of the attribute should be a valid relative path (e.g. ic-src="/foo/bar").

Dependencies

ic-sse-src has no effect on dependencies.