class JsDuck::Tag::Subproperties

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.

Public Class Methods

new() click to toggle source
# File lib/jsduck/tag/subproperties.rb, line 10
def initialize
  @tagname = :properties
  @html_position = POS_SUBPROPERTIES
end

Public Instance Methods

format(m, formatter) click to toggle source
# File lib/jsduck/tag/subproperties.rb, line 15
def format(m, formatter)
  m[:properties].each {|p| formatter.format_subproperty(p) }
end
to_html(m) click to toggle source
# File lib/jsduck/tag/subproperties.rb, line 19
def to_html(m)
  JsDuck::Render::Subproperties.render(m)
end