tld-fragments.dropdown-fragment.xml Maven / Gradle / Ivy
<fragment> <tag> <description>Renders a menu dropDown divider</description> <display-name>DropDown</display-name> <name>dropDownDivider</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.dropdown.DropDownDividerTag</tag-class> <body-content>scriptless</body-content> <example> <html:dropDown label="List"> <html:dropDownItem label="Item 1" url="#"/> <html:dropDownDivider/> <html:dropDownItem label="Item 2" target="_blank" url="#"/> <html:dropDownItem icon="trash" label="Item 3" url="#"/> </html:dropDown> </example> </tag> <tag> <description>Renders a dropDown item list</description> <display-name>DropDown</display-name> <name>dropDownItem</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.dropdown.DropDownItemTag</tag-class> <body-content>scriptless</body-content> <attribute> <description>Indicates the id for the component</description> <name>id</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>Indicates the icon to be used in the menu icon. available list https://fontawesome.com/icons</description> <name>icon</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>Indicates the URL to be used</description> <name>url</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates the label to be used</description> <name>label</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates the label key (i18n) to be used</description> <name>labelKey</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>Indicates the target browser. Default: _self. Options: _self, _parent, _blank, namedeumiframe</description> <name>target</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates whether the component should be rendered</description> <name>rendered</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <example> <html:dropDown label="List"> <html:dropDownItem label="Item 1" url="#"/> <html:dropDownDivider/> <html:dropDownItem label="Item 2" target="_blank" url="#"/> <html:dropDownItem icon="trash" label="Item 3" url="#"/> </html:dropDown> </example> </tag> <tag> <description>Renders a dropDown list</description> <display-name>DropDown</display-name> <name>dropDown</name> <tag-class>com.jslsolucoes.tagria.tag.html.v4.tag.dropdown.DropDownTag</tag-class> <body-content>scriptless</body-content> <attribute> <description>Indicates the id for the component</description> <name>id</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates a CSS class to the component</description> <name>cssClass</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>Indicates the dropDown direction. Options: left,right,down,up. Default: down</description> <name>direction</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>Indicates the size of dropDown. Default none. Options: xl,sm,lg</description> <name>size</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>Indicates the dropDown state. Default: default. Options: success, danger, info, default, primary</description> <name>state</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates the label to be used in dropDown root</description> <name>label</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates the label key (i18n) to be used in dropDown root</description> <name>labelKey</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.String</type> </attribute> <attribute> <description>It indicates whether the component should be rendered</description> <name>rendered</name> <rtexprvalue>true</rtexprvalue> <type>java.lang.Boolean</type> </attribute> <example> <html:dropDown label="List"> <html:dropDownItem label="Item 1" url="#"/> <html:dropDownDivider/> <html:dropDownItem label="Item 2" target="_blank" url="#"/> <html:dropDownItem icon="trash" label="Item 3" url="#"/> </html:dropDown> </example> </tag> </fragment>