Interactive UI patterns - event modifiers, animations, reactive bindings, and plugins.
Select an action from the @click.outside dropdown - it opens a confirmation modal. Dismiss via overlay (@click.self) or Esc.
Smooth height animation with slideToggle(). Uses z-skip to opt the subtree out of morph diffing.
Object binding via z-style - inline styles update reactively.
Render trusted HTML with z-html - only use with sanitized content.
Switch a single class from a set using z-class - the object syntax applies only the matching key.
z-class="{'info': variant === 'info', 'warning': variant === 'warning'}"
Template-level keyboard filtering - no manual e.key checks needed.
$.fn - Extend the CollectionRegister custom chainable methods on every $(...) selection. Click the buttons to trigger each plugin.
$.fn.highlight = function(color) {
this.css({ boxShadow: '0 0 0 3px ' + color });
setTimeout(() => this.css({ boxShadow: '' }), 1500);
return this; // chainable
};
$('#el').highlight().shake().glow(); // chain them!