How to handle returned data from the library
Petrit-Halabaku opened this issue · 4 comments
Petrit-Halabaku commented
Upon start, the library gives us these data, of course, if you choose the type: "categories"
.
How can we use these data and those chosen by the user and return us an object/array so that we can manipulate those data? This is the returned data after choosing one of the boxes and submitting the form.
activescott commented
@Petrit-Halabaku I created an example and put it in the docs/events-example
branch. Direct link to the example at https://github.com/activescott/cookieconsent/tree/docs/events-example/examples-new/events
Does this answer your question?
activescott commented
From that example, this is the bit that matters:
activescott commented
As far as I can tell this is resolved in #87. Please let me know if I missed something.
activescott commented