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
20
21
22
23
24
|
# File 'lib/emjay/components/body/mj_raw.rb', line 20
def self.allowed_attributes
{
"position" => "enum(file-start)"
}
end
|
.component_name ⇒ Object
8
9
10
|
# File 'lib/emjay/components/body/mj_raw.rb', line 8
def self.component_name
"mj-raw"
end
|
.ending_tag? ⇒ Boolean
12
13
14
|
# File 'lib/emjay/components/body/mj_raw.rb', line 12
def self.ending_tag?
true
end
|
.raw_element? ⇒ Boolean
16
17
18
|
# File 'lib/emjay/components/body/mj_raw.rb', line 16
def self.raw_element?
true
end
|
Instance Method Details
#render ⇒ Object
26
27
28
|
# File 'lib/emjay/components/body/mj_raw.rb', line 26
def render
get_content
end
|