Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Clamps all instances of a class
jQuery( document ).ready( function() {
jQuery( '.clampThis' ).each( function( index, element ) {
$clamp(
element,
{
clamp: 1,
useNativeClamp: false
}
);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.