 
     // latest slot position updated
     private var slotPosition: SlotPosition?
-    private var isSlotFound: Bool {
-        return slotPosition != nil
+    private var isSlotNotFound: Bool {
+        return slotPosition == nil
     }
 
     // width of element in Web content, needed to compute ratio
-    public var adViewHTMLElementWidth: CGFloat = 0
+    public var adViewHTMLElementWidth: CGFloat {
+        if let slotPosition = slotPosition {
+            return slotPosition.right - slotPosition.left
+        }
+        return .zero
+    }
 
     private var webViewObservation: NSKeyValueObservation?
-    private var orientationStateObserver: NSObjectProtocol?
 
     private var isJsReady = false
 

import UIKit
import WebKit

/// follow slot javascript lyfecycle
/// - Note:
/// method will be triggered on mainThread or thead from original call
@objc public protocol TeadsWebViewHelperDelegate {
    /// This is called when the teads slot is shown.
    @objc optional func webViewHelperSlotStartToShow()


    /// This is called when the html element slot has been found.
    /// - Note
    /// This indicates slot specified with `selector` on ``TeadsWebViewHelper/init(webView:selector:delegate:)`` has been found in webview html DOM.
    @objc optional func webViewHelperSlotFoundSuccessfully()

    /// This is called when no slot is found.
    /// - Note
    /// This indicates slot specified with `selector` on ``TeadsWebViewHelper/init(webView:selector:delegate:)`` has **NOT** been found in webview html DOM.
    @objc optional func webViewHelperSlotNotFound()

    /// This is called when an error occured with the reason.
