denis-taran / autocomplete

Blazing fast and lightweight autocomplete widget without dependencies. Only 1KB gzipped. Demo:
https://smartscheduling.com/en/documentation/autocomplete
457 stars 85 forks source link

Add option for prefixing all autocomplete css class names #80

Closed torlokken closed 2 years ago

torlokken commented 3 years ago

By default, all autocomplete css class names are "autocomplete-something". For projects with strict CSS naming, this is not always compatible. Adding a wrapper class is not necessarily sufficient. For example, in a BEM/ITCSS project, you probably would want something like "c-autocompleter". Please add an option to define the prefix for all classes set by the script. For example, "cssClassNamePrefix" = "my-autocomplete" (default "autocomplete")

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.