Method: Element#clear_styles
- Defined in:
- lib/source/redshift/accessors.rb
#clear_styles ⇒ Object
call-seq:
elem.clear_styles -> elem
Removes the CSS styles that have been applied to elem.
91 92 93 94 |
# File 'lib/source/redshift/accessors.rb', line 91 def clear_styles `this.__native__.style.cssText=''` return self end |