Copy link to clipboard
Copied
Hello Everyone,
I am learning MuCow and I am getting pretty good at it. But this is the only thing that is bothering me so far. What is the paramEncoding attribute and what does it do?
Thank you
It's used to format the text to make it web-friendly. URIComponent replaces spaces in the text with %20% and spaceToPlus will format spaces with the + symbol.
David
Creative Muse
Copy link to clipboard
Copied
It's used to format the text to make it web-friendly. URIComponent replaces spaces in the text with %20% and spaceToPlus will format spaces with the + symbol.
David
Creative Muse
Copy link to clipboard
Copied
Thank you
While we are on the subject. Can you also help me understand the <builtIn> parameter? I mean what could we achieve with it?
Copy link to clipboard
Copied
The builtin parameters give you access to internal data such as the unique ID for the widget, as well as its width and height. Others give you the page or site URL This helps if you need to incorporate them into your code.
David
Copy link to clipboard
Copied
Where did you find out about paramEncoding? I didnt see that in the muse documentation.
Copy link to clipboard
Copied
It's here: MuCow Documentation, although it doesn't actually tell you what it does. Theres more info here: JavaScript encodeURI() Function.
David