Skip to content

function_truncate

Wesley de Groot edited this page Oct 30, 2015 · 36 revisions
            	     _    _____ 
        	        | |  / ____|
    	            | |  | (___ 
	            _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/
                    v0.0.6 Final

Function truncate

_('.wrapper').truncate(length, truncation)


truncate is a object undefined?

Parameter list

Type @var Description Required
object object Wrapper Required
string length length (default: 30) Required
string truncation truncation after the truncate (default: ...) Required

Example:

_('.wrapper').truncate(length[, truncation]);


Returns:

bool




[Back to function list](https://github.com/wesdegroot/_.js/wiki/Function%20List)
Clone this wiki locally