
#######################
conditionalSetAttribute
#######################

.. js:function:: Bcf.conditionalSetAttribute

   .. rst-class:: sig-pretty-signature
   
      | conditionalSetAttribute(**elem**\ : *HTMLElement*\ , **attrName**\ : *string*\ , **attrVal**\ : (*undefined* \| *None* \| *string*\ )): *void*
   
   **Parameters**
   
      **elem**\ : *HTMLElement*
   
      **attrName**\ : *string*
   
      **attrVal**\ : (*undefined* \| *None* \| *string*\ )
   
   
   **Returns**\ : *void*
   




