Support truncating content from the beginning, along with end and center.

I updated the documentation and the minified version accordingly.