SDFIdk / dawa-autocomplete2

DAWA Autocomplete2 is a JavaScript-component which makes it possible to enter a danish address in a single input field.
MIT License
14 stars 4 forks source link

Add onLoadInitial callback function #18

Open woutervanvliet opened 3 weeks ago

woutervanvliet commented 3 weeks ago

Adds an onLoadInitial option, which will receive data that was loaded either because the id option was supplied, or the component.id(guid) function was called

woutervanvliet commented 3 weeks ago

Note: I introduced 2 additional environment variables, which can be used to control the e2e test runner

E2E_BROWSER_FILTER: To control which browser, or browsers, tests are executed on E2E_LOG_LEVEL: To control the WebDrivers logLevel and make it easier to see test status

If #17 gets merged first, we may want to update the section of the README.md file to include information about how to use those environment variables.

That is, if course, if this PR is to be merged at all