         }
     }
 
+    // MARK: Private API
+
+    func changed(height: CGFloat) {
+        guard isHidden == false, height != bounds.height else { return }
+
+        let size = CGSize(width: contentView.bounds.width, height: CGFloat(height))
+        delegate?.webViewDidResize(cell: self, html: body, cellWidth: size.width, size: size)
+    }
+
     // MARK: ListBindable
 
     func bindViewModel(_ viewModel: Any) {


    func webViewDidFinishLoad(_ webView: UIWebView) {
        webView.alpha = 1
    }

}

            imgs[i].addEventListener('click', tapAction);
        }
        function onElementHeightChange(elm, callback) {
            var lastHeight = elm.\(IssueCommentHtmlCell.JavaScriptHeight), newHeight;
            (function run() {
                newHeight = elm.\(IssueCommentHtmlCell.JavaScriptHeight);
                if(lastHeight != newHeight) {
                    callback(newHeight);
                }
