UNPKG

shave

Version:

Shave is a javascript plugin that truncates multi-line text within a html element based on set max height

15 lines (14 loc) 252 B
import { Opts } from './shave'; interface Plugin { fn: { shave: (maxHeight: number, opts?: Opts) => void; }; } declare global { interface Window { $: Plugin; jQuery: Plugin; Zepto: Plugin; } } export {};