When we double click on selected value which bind to pattern variable will call the dblClick() function that alert the selected value.
dblClick()