I have a variable that looks like this:
var simpleText = new Kinetic.Text({
text: 'where text goes',
fontSize: 24
});
How do I insert a line break where the text goes. I've tried:
text: 'where text goes \n where text goes',
text: 'where text goes \n\n where text goes',
text: 'where text goes \r\n where text goes',
text: 'where text goes <br /> where text goes',
text: 'where text goes \n' + 'where text goes \n',
text: 'where text goes ' + 'where text goes ',
text: 'where text goes '
+ 'where text goes ',
text: 'where text goes
where text goes',
Error on my end. \n works