icheck icon indicating copy to clipboard operation
icheck copied to clipboard

Change 'insert' text when checked

Open hmaesta opened this issue 10 years ago • 3 comments

Hello. Is there a way to change the 'insert' text when input is checked?

Something like...

$('input').iCheck({
   default_insert: 'Press me!',
   checked_insert: 'Oh yeah!'
});

qqq

Thank you.

hmaesta avatar Apr 01 '14 07:04 hmaesta

Until now, my solution is with CSS.

.iradio:before {
    content: "Press me!"
}
.iradio.checked:before {
    content: "Oh yeah!"
}

(And no 'insert' in iCheck function)

hmaesta avatar Apr 01 '14 07:04 hmaesta

This method will be available in v2.

drgullin avatar Nov 27 '14 15:11 drgullin

Don't work for me. But I'm doing something wrong. The label present in iCheck doesn't change. Can you show me how was your HTML structure?

Version 2 now has this feature available? Thanks!

rogercorrea avatar Apr 26 '16 01:04 rogercorrea