Text display that truncates text with ellipsis to fit into the height of the control

[ This description is mirrored from README.md at github.com/pshihn/soso-truncated-text on 2019-05-22 ]

<soso-truncated-text>

Text display that truncates text with ellipsis to fit into the height of the control

<soso-truncated-text text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."></soso-truncated-text>
<soso-truncated-text style="height: 90px;" text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."></soso-truncated-text>
<soso-truncated-text style="height: 40px;" text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."></soso-truncated-text>

Install

Link to this version
ImportedReleased 21 September 2017MIT License
Framework Support
Polymer 2.0+
Browser Compatibility
Install with
bower install --save pshihn/soso-truncated-text"#1.0.2"
Run the above Bower command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 1.0.2

Dependencies

  • polymer#Polymer/polymer#^2.0.0