<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>evolutionSqueezeText jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75781/evolutionsqueezetext-jquery-plugin</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>evolutionSqueezeText jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75781/evolutionsqueezetext-jquery-plugin</link><pubDate>Fri, 08 Mar 2024 17:51:39 GMT</pubDate><guid isPermaLink="false">27c3842b-5083-4e52-a33e-4c14aabf4fea</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75781/evolutionsqueezetext-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:51:39&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.fn.evolutionSqueezeText&lt;/h3&gt;
&lt;p&gt;This plugin enables text of unknown length to be auto-scaled to fit within a container with a defined width. Text that is too long to fit within a single line in a container is manipulated using a series of test iterations to refine its letter spacing and font size until it fits, or until minimum size and spacing thresholds are met. If the text cannot be made to fit, it is truncated.&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;p&gt;Initializes the selected container to squeeze its text:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(container).evolutionSqueezeText(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;minSize&lt;/code&gt;: Minimum font size to use before truncation, in pixels
&lt;ul&gt;
&lt;li&gt;default: 9&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;minSpacing&lt;/code&gt;: : Minimum letter-spacing to use before truncation, in pixels
&lt;ul&gt;
&lt;li&gt;default: -0.5&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;enableSpacing&lt;/code&gt;: When enabled, includes letter spacing adjustment attempts when squeezing
&lt;ul&gt;
&lt;li&gt;default: true&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;resetOnFailure&lt;/code&gt;: When enabled, text that cannot be squeezed within a container is reset to its original font size and letter spacing
&lt;ul&gt;
&lt;li&gt;default: false&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;truncateOnFailure&lt;/code&gt;: When enabled, text that cannot be squeezed within a container is truncated
&lt;ul&gt;
&lt;li&gt;default: true&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;onFailure&lt;/code&gt;: Callback invoked when text cannot be squeezed within the container
&lt;ul&gt;
&lt;li&gt;default: null&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>