Sha256: af50c6bcebc6f185d9ddcccfd802948b4af8b001d117876b8037a7218469bd7c
Contents?: true
Size: 572 Bytes
Versions: 30
Compression:
Stored size: 572 Bytes
Contents
require "jsduck/tag/tag" require "jsduck/render/subproperties" module JsDuck::Tag # There is no @subproperties tag. # # This tag class exists solely to implement rendering of :properties # field which can exist in :cfg, :property or :css_var members. class Subproperties < Tag def initialize @tagname = :properties @html_position = POS_SUBPROPERTIES end def format(m, formatter) m[:properties].each {|p| formatter.format_subproperty(p) } end def to_html(m) JsDuck::Render::Subproperties.render(m) end end end
Version data entries
30 entries across 30 versions & 3 rubygems