Cutter.run( oApplyTo, oTarget, nWords, oTexts, oClasses )
Executes the cutter on oApplyTo and put the content cut in oTarget.
Params:
-
oApplyTo : DOM element to cut the content.
-
oTarget : DOM element where put the content after cut.
-
nWords : Number of words to cut on the oApplyTo element.
-
oTexts : Config object for the text in the link, to show the full content again, if it's needed.
-
oTexts by default.
{
more: "View more"
}
-
oClasses : Config object for the style class to apply the link, to show the full content again, if it's needed.
-
oClasses by default.
{
more: "more"
}
-
oTexts by default.
{ more: "View more" }
-
oClasses by default.
{ more: "more" }