Class: Emjay::Components::MjRaw
Instance Attribute Summary
#attributes, #context, #props
Class Method Summary
collapse
Instance Method Summary
collapse
#get_box_widths, #get_child_context, #get_shorthand_attr_value, #get_shorthand_border_value, #get_styles, #html_attributes, #render_children, #styles
default_attributes, #get_attribute, #get_child_context, #get_content, #initialize
Class Method Details
.allowed_attributes ⇒ Object
21
22
23
24
25
|
# File 'lib/emjay/components/body/mj_raw.rb', line 21
def self.allowed_attributes
{
"position" => "enum(file-start)"
}
end
|
.component_name ⇒ Object
9
10
11
|
# File 'lib/emjay/components/body/mj_raw.rb', line 9
def self.component_name
"mj-raw"
end
|
.ending_tag? ⇒ Boolean
13
14
15
|
# File 'lib/emjay/components/body/mj_raw.rb', line 13
def self.ending_tag?
true
end
|
.raw_element? ⇒ Boolean
17
18
19
|
# File 'lib/emjay/components/body/mj_raw.rb', line 17
def self.raw_element?
true
end
|
Instance Method Details
#render ⇒ Object
27
28
29
|
# File 'lib/emjay/components/body/mj_raw.rb', line 27
def render
get_content
end
|