Repeaters: Get data by clicking a button in a container

I’m using this code to get the data of the container after clicking the container itself. How to I achieve this by clicking a button with the container?

$w.onReady( function () {
   $w("#checkbox1_change").onChange( (event) => {
 let $item = $w.at(event.context);
 let clickedItemData = $item("#dataset1").getCurrentItem();
     console.log(clickedItemData);
   } );
 } );

Hi,
What are you trying to achieve? What is the use case?
Your button attached to the repeater?