mirror of https://github.com/jenkinsci/jenkins.git
Add docs
This commit is contained in:
parent
a4c7f4f28c
commit
4cc43e47f9
|
@ -23,9 +23,9 @@ THE SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?jelly escape-by-default='true'?>
|
<?jelly escape-by-default='true'?>
|
||||||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout" xmlns:d="jelly:define">
|
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define">
|
||||||
<st:documentation>
|
<st:documentation>
|
||||||
|
Allows for custom components inside of dropdowns
|
||||||
</st:documentation>
|
</st:documentation>
|
||||||
|
|
||||||
<template data-dropdown-type="CUSTOM">
|
<template data-dropdown-type="CUSTOM">
|
||||||
|
|
|
@ -26,13 +26,16 @@ THE SOFTWARE.
|
||||||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout">
|
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout">
|
||||||
<st:documentation>
|
<st:documentation>
|
||||||
<st:attribute name="icon">
|
<st:attribute name="icon">
|
||||||
Optional icon to be used for the button, defaults to three dots
|
Icon to be used for the menu item
|
||||||
</st:attribute>
|
</st:attribute>
|
||||||
<st:attribute name="text">
|
<st:attribute name="text">
|
||||||
Optional text to be displayed on the button
|
Text to be displayed on the menu item
|
||||||
</st:attribute>
|
</st:attribute>
|
||||||
<st:attribute name="id">
|
<st:attribute name="id">
|
||||||
Optional ID for the button
|
Optional ID for the menu item
|
||||||
|
</st:attribute>
|
||||||
|
<st:attribute name="href">
|
||||||
|
Optional HREF for the menu item
|
||||||
</st:attribute>
|
</st:attribute>
|
||||||
</st:documentation>
|
</st:documentation>
|
||||||
|
|
||||||
|
@ -42,8 +45,8 @@ THE SOFTWARE.
|
||||||
|
|
||||||
<template data-dropdown-type="ITEM"
|
<template data-dropdown-type="ITEM"
|
||||||
data-dropdown-id="${attrs.id}"
|
data-dropdown-id="${attrs.id}"
|
||||||
|
data-dropdown-icon="${icon}"
|
||||||
data-dropdown-text="${attrs.text}"
|
data-dropdown-text="${attrs.text}"
|
||||||
data-dropdown-href="${attrs.href}"
|
data-dropdown-href="${attrs.href}"
|
||||||
data-dropdown-icon="${icon}"
|
|
||||||
/>
|
/>
|
||||||
</j:jelly>
|
</j:jelly>
|
||||||
|
|
|
@ -24,9 +24,5 @@ THE SOFTWARE.
|
||||||
|
|
||||||
<?jelly escape-by-default='true'?>
|
<?jelly escape-by-default='true'?>
|
||||||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">
|
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">
|
||||||
<st:documentation>
|
|
||||||
|
|
||||||
</st:documentation>
|
|
||||||
|
|
||||||
<template data-dropdown-type="SEPARATOR" />
|
<template data-dropdown-type="SEPARATOR" />
|
||||||
</j:jelly>
|
</j:jelly>
|
||||||
|
|
|
@ -26,11 +26,13 @@ THE SOFTWARE.
|
||||||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout">
|
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout">
|
||||||
<st:documentation>
|
<st:documentation>
|
||||||
<st:attribute name="icon">
|
<st:attribute name="icon">
|
||||||
Optional icon to be used for the button, defaults to three dots
|
Icon to be used for the menu item
|
||||||
</st:attribute>
|
</st:attribute>
|
||||||
<st:attribute name="text">
|
<st:attribute name="text">
|
||||||
Optional text to be displayed on the button
|
Text to be displayed on the menu item
|
||||||
</st:attribute>
|
</st:attribute>
|
||||||
|
|
||||||
|
Displays the contents as a submenu to a menu item
|
||||||
</st:documentation>
|
</st:documentation>
|
||||||
|
|
||||||
<j:set var="icon">
|
<j:set var="icon">
|
||||||
|
|
Loading…
Reference in New Issue