multi-select icon indicating copy to clipboard operation
multi-select copied to clipboard

How to get the current li attribute in the afterSelect callback function?

Open codthing opened this issue 6 years ago • 3 comments

How to get the currentliattribute in the afterSelect callback function? I want to make a judgment based on the values of value, and add some different styles or contents to li after the selection.

codthing avatar Apr 07 '19 14:04 codthing

Did you have any luck with this feature @mofengfs ? I added some data-attibutes to the list options that I want to use in the afterSelect function.

markdimi avatar Nov 24 '20 11:11 markdimi

Did you have any luck with this feature @mofengfs ? I added some data-attibutes to the list options that I want to use in the afterSelect function.

Brother, a long time has passed. I don't need JQuery for a long time.

codthing avatar Nov 24 '20 11:11 codthing

Alright brother :) Appreciate the answer. Take care

markdimi avatar Nov 24 '20 12:11 markdimi