Class: UU::OS::Form::InputImage
- Inherits:
-
File
- Object
- GVC::Component
- Input
- File
- UU::OS::Form::InputImage
- Defined in:
- uu_os_gvc-0.28.16/lib/uu/os/form/input_image.rb
Overview
InputImage component.
Instance Attribute Summary (collapse)
-
- (Object) value
URI of the image uploaded in a storage.
Attributes inherited from File
Attributes inherited from Input
#data, #disabled, #read_only, #required, #submit_value_change, #value_change_action_uri, #width
Attributes inherited from GVC::Component
#attributes, #code, #component_type, #form, #height, #id, #name, #width
Method Summary
Methods inherited from GVC::Component
#add_message, #focus, #initialize, #messages
Constructor Details
This class inherits a constructor from UU::OS::GVC::Component
Instance Attribute Details
- (Object) value
URI of the image uploaded in a storage. Note that when setting the value, the image represented by the URI should be uploaded in the storage with proper content type (e.g. "image/png") and it should also have a name because this information might be shown to the user in their browser.
14 15 16 |
# File 'uu_os_gvc-0.28.16/lib/uu/os/form/input_image.rb', line 14 def value @value end |