Class: Formily::EditorConfig
- Inherits:
-
Object
- Object
- Formily::EditorConfig
- Defined in:
- lib/formily/config.rb
Overview
Formily Form HTML editor config
Instance Attribute Summary collapse
-
#height ⇒ Object
HTML form editor height (pixel).
-
#width ⇒ Object
HTML form editor width (pixel).
Instance Method Summary collapse
-
#initialize ⇒ EditorConfig
constructor
A new instance of EditorConfig.
Constructor Details
#initialize ⇒ EditorConfig
Returns a new instance of EditorConfig.
41 42 43 44 |
# File 'lib/formily/config.rb', line 41 def initialize @height = 500 @width = 720 end |
Instance Attribute Details
#height ⇒ Object
HTML form editor height (pixel)
37 38 39 |
# File 'lib/formily/config.rb', line 37 def height @height end |
#width ⇒ Object
HTML form editor width (pixel)
39 40 41 |
# File 'lib/formily/config.rb', line 39 def width @width end |