MagneticButtons icon indicating copy to clipboard operation
MagneticButtons copied to clipboard

Does not detect multiple buttons

Open code-504 opened this issue 4 years ago • 2 comments

Hello. When the html button is duplicated and placed elsewhere in the html code, it doesn't work because it only detects one. The code is not prepared to have multiple buttons in the same html. How do I implement that? I think it would be a nice improvement.

code-504 avatar May 04 '21 20:05 code-504

Same here. Not able to use it like that. Anyone found a solution yet?

nuelschoch avatar Feb 25 '22 12:02 nuelschoch

Just add on your JS your new class after : var button = new _buttonCtrl.default(document.querySelector('.button')); line 6443

agencetempo avatar Mar 01 '22 10:03 agencetempo