An open API service indexing awesome lists of open source software.

https://github.com/enpit/address-form-oraclejet

An address form composite component that you can use in your Oracle JET application.
https://github.com/enpit/address-form-oraclejet

Last synced: 3 months ago
JSON representation

An address form composite component that you can use in your Oracle JET application.

Awesome Lists containing this project

README

          

# address-form-oraclejet
An address form composite component that you can use in your Oracle JET application.

## Usage

In your HTML:

``` html




```

In your JS:

``` js
require([
'ojs/ojcore',
'knockout',
'jquery',
'ojs/ojknockout',
'ojs/ojcomposite',
// remember to load address-form-oraclejet via requirejs' paths, so you can do:
'address-form-oraclejet/loader'
],
function(oj, ko, $) {
// do your oraclejet setup stuff here
// ...
// to subscribe to the submit event of the address-form component, do:
window.addEventListener('address-form:submit', function (event) {
console.log(event.detail); // logs the form data as an object
});
}
);
```