Skip to content

A Simple Jquery plugin for dom element text shortening

Notifications You must be signed in to change notification settings

notetech/dom-text-ellipses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Ellipses Jquery plugin

A Simple Jquery plugin for dom element text shortening

Usage

Include text-ellipses.jquery.js into your html file

<script src="src/text-ellipses.jquery.js"></script>
$('.heading').textEllipses("Lorem ipsum dolor sit amet",5, options)

Options

    {
        hoverExpand: true // Default false
        showTitle: false, // Default true
        className: 'some-class-name', // Default text-ellipsis-element
        dataValueName: 'some-data-field-name', // Default real-value
    }

About

A Simple Jquery plugin for dom element text shortening

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published