(<5kb) [📱iOS] Create Progressive Web App Dynamically.
npm install micro-app



* Open https://micro-app.github.io/ in Safari.
$ npm install micro-app
`Demo
`
$ npm cd node_modules/micro-app/
$ npm install
$ npm run demo
`How to use
##### 1. Declare feature on the script tag which has an attribute
"micro-app".`html
`##### 2. Select the script tag which has an attribute
"micro-app" then set feature by "setAttribute".`html
`##### 3. Assign feature on the global namespace
"microApp".`html
`Features
* If you assign a
null, that means remove the feature.##### capable
*
microApp.capable = true;`html
`##### status-bar-style
*
microApp.statusBarStyle = 'black-translucent';
* Both microApp["status-bar-style"] and microApp.statusBarStyle are same.`html
`##### title
*
microApp.title = 'title';`html
`##### icon
*
microApp.icon = 'icon.jpg';
* Support multiple.`html
`##### splash
*
microApp.icon = 'splash.jpg';
* Support multiple.`html
`Multiple
Use
Array and Object to set multiple icon and splash.
@see /demo/jquery/entry/index.jsMethods
##### filter( name: String, handler: Funtion )
* Define a filter, filter the url about icon and splash.
| Argument | Description |
| --- | --- |
| String | filter name |
| Function | filter handler |
| Return values |
| --- |
| microApp |
Filters
##### #precomposed
* Set the attribute
rel="apple-touch-icon-precomposed".##### #autosize
* Set
sizes or media` after computed.MIT