Marquee3000 icon indicating copy to clipboard operation
Marquee3000 copied to clipboard

Incorrect custom selector syntax in documentation

Open Cam opened this issue 4 years ago • 1 comments

In the documentation you have the following as an example for the custom selector. However the package adds the . for the classname itself.

Marquee3k.init({
    selector: '.selector-name', // define a custom classname
});

Arguably the package could be changed to allow for both classes and IDs by removing the .. Changing the documentation to the following would be a good start.

Marquee3k.init({
    selector: 'selector-name', // define a custom classname without the '.'
});

Cam avatar Nov 14 '19 23:11 Cam

Thanks for the report @Cam – will have a look at this to accommodate

ezekielaquino avatar Nov 19 '19 13:11 ezekielaquino