Class: Scarpe::Webview::TextDrawable

Inherits:
Drawable show all
Defined in:
lib/scarpe/wv/text_drawable.rb

Direct Known Subclasses

Link, Span

Constant Summary

Constants included from Shoes::Log

Shoes::Log::DEFAULT_COMPONENT, Shoes::Log::DEFAULT_DEBUG_LOG_CONFIG, Shoes::Log::DEFAULT_LOG_CONFIG

Instance Attribute Summary

Attributes inherited from Drawable

#children, #parent, #shoes_linkable_id

Attributes inherited from Shoes::Linkable

#linkable_id

Instance Method Summary collapse

Methods inherited from Drawable

#add_child, #bind, #destroy_self, display_class_for, #full_window_redraw!, #handler_js_code, #html_element, #html_id, #initialize, #inspect, #needs_update!, #promise_update, #properties_changed, #remove_child, #rgb_to_hex, #set_parent, #shoes_styles, #style

Methods included from Shoes::Log

configure_logger, #log_init, logger

Methods inherited from Shoes::Linkable

#bind_shoes_event, #initialize, #send_self_event, #send_shoes_event, #unsub_all_shoes_events, #unsub_shoes_event

Constructor Details

This class inherits a constructor from Scarpe::Webview::Drawable

Instance Method Details

#to_htmlObject



5
6
7
8
# File 'lib/scarpe/wv/text_drawable.rb', line 5

def to_html
  # Do not render TextDrawables with individual wrapper divs.
  element
end