class JsDuck::Tag::Component

The @component tag should be rarely used explicitly as it gets auto-detected by Process::Components for any component inheriting from Ext.Component.

Public Class Methods

new() click to toggle source
Calls superclass method JsDuck::Tag::BooleanTag::new
# File lib/jsduck/tag/component.rb, line 8
def initialize
  @pattern = "component"
  @class_icon = {
    :small => File.dirname(__FILE__) + "/icons/component.png",
    :large => File.dirname(__FILE__) + "/icons/component-large.png",
    :redirect => File.dirname(__FILE__) + "/icons/component-redirect.png",
    :priority => PRIORITY_COMPONENT,
  }
  super
end