Open gNesh01 opened 8 years ago
The best way is stock the innerHTML in a variable before use Succinct.
var content = $('.element').html() // or .text()
if (condition) {
$(element).succinct({
size: 120,
})
} else {
$('element').html(content)
}
Hi,
Is there any way to destroy succinct? Because I need it just on hover state, so when mouseleave I would like to destroy succinct.
Thanks