Sha256: b080289319fad2c949ad623cd94cd1736ec5aa19eccc25f4880c4c47883022e9
Contents?: true
Size: 709 Bytes
Versions: 14
Compression:
Stored size: 709 Bytes
Contents
<% class_name = '' unless local_variables.include? :class_name position_classes = comp.position.map {|p| "v-typography-position-#{p}"}.join(' ') level = %i(subheading display body).include?(type.to_sym) ? comp.level : nil %> <div id="<%= comp.id %>" class="mdc-typography--<%= "#{type}#{level}" %> <%= class_name %> <%= position_classes %> <%= 'v-actionable' if comp.events %>" style = "<%= "color: #{comp.color};" if comp.color %>" <%= erb :"components/event", :locals => {events: comp.events, parent_id: comp.event_parent_id} %>> <%= expand_text(comp.text) %></div> <%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %>
Version data entries
14 entries across 14 versions & 1 rubygems