Class: Formily::EditorConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/formily/config.rb

Overview

Formily Form HTML editor config

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEditorConfig

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

#heightObject

HTML form editor height (pixel)



37
38
39
# File 'lib/formily/config.rb', line 37

def height
  @height
end

#widthObject

HTML form editor width (pixel)



39
40
41
# File 'lib/formily/config.rb', line 39

def width
  @width
end