 
        :reagent-render
        (fn
-         [& {:keys [showing-injected? position-injected position-offset no-clip? width height backdrop-opacity on-cancel title close-button? body tooltip-style? popover-color arrow-length arrow-width arrow-gap padding style]
+         [& {:keys [showing-injected? position-injected position-offset no-clip? width height backdrop-opacity on-cancel title
+                    close-button? body tooltip-style? popover-color arrow-length arrow-width arrow-gap padding class style attr]
              :or {arrow-length 11 arrow-width 22 arrow-gap -1}
              :as args}]
          {:pre [(validate-args-macro popover-content-wrapper-args-desc args "popover-content-wrapper")]}
 
          @position-injected ;; Dereference this atom. Although nothing here needs its value explicitly, the calculation of left-offset and top-offset are affected by it for :no-clip? true
-         [:div.popover-content-wrapper
-          {:style (merge (flex-child-style "inherit")
-                         (when no-clip? {:position "fixed"
-                                         :left      (px @left-offset)
-                                         :top       (px @top-offset)})
-                         style)}
+         [:div
+          (merge {:class (str "popover-content-wrapper " class)
+                  :style (merge (flex-child-style "inherit")
+                                (when no-clip? {:position "fixed"
+                                                :left      (px @left-offset)
+                                                :top       (px @top-offset)})
+                                style)}
+                 attr)
           (when (and @showing-injected? on-cancel)
             [backdrop
              :opacity  backdrop-opacity

     :showing? showing?
     :position (or position :below-center)
     :anchor   anchor
     :style    style
     :popover [popover-content-wrapper
               :no-clip?       no-clip?
               :on-cancel      on-cancel

   {:name :on-click :required false              :type "-> nil"          :validate-fn fn?               :description "a function which takes no params and returns nothing. Called when the backdrop is clicked"}])

(defn- backdrop
  "Renders a backdrop div which fills the entire page and responds to clicks on it. Can also specify how tranparent it should be"
  [& {:keys [opacity on-click] :as args}]
  {:pre [(validate-args-macro backdrop-args-desc args "backdrop")]}
  [:div.rc-backdrop.noselect
