ProtocolBridge

@ObjCName(name = "ProtocolBridge", exact = true)
class ProtocolBridge<W : Any>(container: Widget.Children<W>, factory: ProtocolFactory<W>, eventSink: EventSink) : ChangesSink

Bridges the serialized Redwood protocol back to widgets on the display side.

This type will consume Changes and apply their ChildrenChange operations to the widget tree. PropertyChanges and ModifierChanges are forwarded to their respective widgets. Events from widgets are forwarded to eventSink.

Constructors

Link copied to clipboard
constructor(container: Widget.Children<W>, factory: ProtocolFactory<W>, eventSink: EventSink)

Functions

Link copied to clipboard
open override fun sendChanges(changes: List<Change>)