Class: JsDuck::Tag::Experimental
- Inherits:
-
DeprecatedTag
- Object
- Tag
- DeprecatedTag
- JsDuck::Tag::Experimental
- Defined in:
- lib/jsduck/tag/experimental.rb
Constant Summary
Constants inherited from Tag
Tag::POS_ASIDE, Tag::POS_DEFAULT, Tag::POS_DEPRECATED, Tag::POS_DOC, Tag::POS_ENUM, Tag::POS_FIRES, Tag::POS_LOCALDOC, Tag::POS_OVERRIDES, Tag::POS_PARAM, Tag::POS_PREVENTABLE, Tag::POS_PRIVATE, Tag::POS_RETURN, Tag::POS_SINCE, Tag::POS_SUBPROPERTIES, Tag::POS_TEMPLATE, Tag::POS_THROWS, Tag::PRIORITY_CLASS, Tag::PRIORITY_COMPONENT, Tag::PRIORITY_SINGLETON
Instance Attribute Summary
Attributes inherited from Tag
#class_icon, #css, #ext_define_default, #ext_define_pattern, #html_position, #pattern, #repeatable, #signature, #tagname
Instance Method Summary collapse
-
#initialize ⇒ Experimental
constructor
A new instance of Experimental.
Methods inherited from DeprecatedTag
#format, #parse_doc, #process_doc, #to_html
Methods inherited from Tag
descendants, #format, #parse_doc, #parse_ext_define, #process_doc, #to_html
Constructor Details
#initialize ⇒ Experimental
Returns a new instance of Experimental.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/jsduck/tag/experimental.rb', line 5 def initialize @tagname = :experimental @msg = "This {TAGNAME} is <strong>experimental</strong>" @since = "Introduced in" # dashed border @css = " .signature .experimental {\n color: #a00;\n border: 1px dashed #a00;\n background-color: #fee;\n }\n .experimental-box {\n border: 2px dashed #ccc;\n }\n .experimental-box strong {\n margin: 0 3px;\n border: 2px dashed #a00;\n color: #a00;\n }\n EOCSS\n super\nend\n" |