mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
Previously, we had to fiddle with the generated HTML to update individual values. Now, we can simply ask the widget to rerender the row that we updated. This is done by passing an html_selector function that returns a selector for the rendered item. If: - we do not provide html_selector function - item is not currently rendered - new html is not a string. then the render_item() call is a noop.