Class: Wee::Brush::JavascriptTag
- Inherits:
-
GenericTagBrush
- Object
- Wee::Brush
- GenericTagBrush
- Wee::Brush::JavascriptTag
- Defined in:
- lib/wee/html_brushes.rb
Constant Summary collapse
- HTML_TAG =
'script'.freeze
- HTML_TYPE =
'text/javascript'.freeze
Constants inherited from GenericTagBrush
Instance Attribute Summary
Attributes inherited from Wee::Brush
Instance Method Summary collapse
-
#initialize ⇒ JavascriptTag
constructor
A new instance of JavascriptTag.
Methods inherited from GenericTagBrush
#callback_on, #get_oid, html_attr, #javascript_on, #oid, #onclick_callback, #onclick_javascript, #ondblclick_callback, #update_component_on, #update_on, #with
Methods inherited from Wee::Brush
#close, nesting?, #setup, #with
Constructor Details
#initialize ⇒ JavascriptTag
Returns a new instance of JavascriptTag.
209 210 211 212 |
# File 'lib/wee/html_brushes.rb', line 209 def initialize super(HTML_TAG) type(HTML_TYPE) end |