Skip to content

Commit

Permalink
liferay#1268 - Add capability to pass data to a DropDownItem
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-leo committed Oct 29, 2018
1 parent 0bf32aa commit 7fb82a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/clay-dropdown/src/ClayDropdownBase.soy
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@
{@param? _handleItemClick: any}
{@param? active: bool}
{@param? checked: bool}
{@param? data: any}
{@param? disabled: bool}
{@param? href: string}
{@param? icon: string}
Expand Down Expand Up @@ -388,6 +389,7 @@

{if $href}
{call ClayLink.render}
{param data: $data /}
{param elementClasses: $elementClasses /}
{param href kind="text"}
{if $disabled}
Expand All @@ -403,6 +405,7 @@
{else}
{call ClayButton.render}
{param ariaLabel: $label /}
{param data: $data /}
{param disabled: $disabled /}
{param elementClasses: $elementClasses /}
{param label: $labelContent /}
Expand Down

0 comments on commit 7fb82a6

Please sign in to comment.