Pretty straightforward, giving the option for own classes for the wrapper.
Eq.
var input = document.getElementById("rp-input-activities");
new Awesomplete(input, {
minChars: 0,
autoFirst: true,
list: list,
class: "rp-input-activities-awesomplete"
});
Code changes:
First [21-30]
configure(this, {
minChars: 2,
maxItems: 10,
autoFirst: false,
filter: _.FILTER_CONTAINS,
sort: _.SORT_BYLENGTH,
item: _.ITEM,
replace: _.REPLACE,
**class: ""**
}, o);
second [34-39]
// Create necessary elements
this.container = $.create("div", {
className: this.class + " awesomplete",
around: input
});
Pretty straightforward, giving the option for own classes for the wrapper.
Eq.
Code changes:
First [21-30]
second [34-39]