Class: Wee::Brush::FileUploadTag

Inherits:
InputTag show all
Defined in:
lib/wee/html_brushes.rb

Overview

Use a <form> tag with enctype_multipart!

Constant Summary collapse

HTML_TYPE =
'file'.freeze

Constants inherited from InputTag

InputTag::HTML_TAG

Constants inherited from GenericTagBrush

GenericTagBrush::EVENTS

Instance Attribute Summary

Attributes inherited from Wee::Brush

#canvas, #document

Instance Method Summary collapse

Methods inherited from InputTag

#__callback

Methods included from CallbackMixin

#call, #callback, #callback_method

Methods inherited from GenericSingleTagBrush

nesting?, #with

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

#initializeFileUploadTag

Returns a new instance of FileUploadTag.



480
481
482
# File 'lib/wee/html_brushes.rb', line 480

def initialize
  super(HTML_TYPE)
end