{"name":"bootstrap-modal-js","version":"0.0.1-alpha.beta.7","description":"Bootstrap modal","main":"dist/bootstrap-modal.min.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+ssh://git@github.com/zhangchenglin/bootstrap-modal-js.git"},"github":"https://github.com/zhangchenglin/bootstrap-modal-js","keywords":["bootstrap","modal"],"author":{"name":"张成林"},"authorEmail":"469946668@qq.com","license":"MIT","licenseDescription":"under the MIT License (license terms are at http://opensource.org/licenses/MIT).","devDependencies":{"gulp":"^4.0.0","gulp-header":"^2.0.7","gulp-rename":"^1.4.0","gulp-terser":"^1.1.7","npm-check-updates":"^3.0.8"},"dependencies":{"bootstrap":"^4.3.1","jquery":"^3.3.1","popper.js":"^1.14.7"},"gitHead":"4249647663e8738e85c57f2268161ef141b00e23","bugs":{"url":"https://github.com/zhangchenglin/bootstrap-modal-js/issues"},"homepage":"https://github.com/zhangchenglin/bootstrap-modal-js#readme","_id":"bootstrap-modal-js@0.0.1-alpha.beta.7","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-0FdeZkQRIxgjlTRKUeYNj5NXE33ap+B9m2Ifa57B+MaRlo56y9NtkJ17HSKagiIhxuRQiOFGWJ1HRzr9MW1C/w==","shasum":"177e14326a7fea98b309c55de3256eddd92a1763","tarball":"https://r2.cnpmjs.org/bootstrap-modal-js/-/bootstrap-modal-js-0.0.1-alpha.beta.7.tgz","fileCount":14,"unpackedSize":364129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci1lECRA9TVsSAnZWagAAEgYP/iLsGzYL5tDUODooHYps\nXK1sdJQD8O7SyXYMqHqAZHL9Bh+NsACi2JRqRRf1JRGHkS/dc3h1Zvj3uuE3\nzafruQe8tnYRQtRdKJCux7czsSlqZ4THsOvQ2YyzQc0GvtwdUT63qblkK/il\nM78s8nslheH7lPlNxVEzrC/u4g4DZnx1HBl09vYC0tmdI0VnEhgQuvC9PCA5\nRwOFC1zPYybHf04DNXvFxbQogn1kGG0pBnq4fFZuoyM13HE/pCxLCk+a/H+r\nfP+scNpKITnGEAnj27PLPlCLvmSNPR+I6ivsItB4tdOn5sERDM+U24vla9RO\nnRrJ2H9FylRiuuk6Bi3MEi4W6lWrX03CaZ857KvSyuju5nJbRScNl+VvP0Le\nWwtbro2QIcZ8TspcbqFzKm7JIQGEvv10+xz4rzxP7YxrzoP45nFDQ/NL2g1M\nsUkTMA4bn2ZCnuc4LcLqybUdYkKF8YSSRxxSa3P2mUajbPDu2/PSu4KCCSvZ\nMNCm0Qp+873+kPMdwHjBzyvnDT01qF8ZZ4bQwM1Sxa5ppsH6C1S4N6PDFyr5\nyxpl9LAb/pjUnD7ftAUTg0NC6i6LDfxzsMfSgze5ReZPtyTrEzQxjN5LZpPR\nTLeb695WozsxC2yZrC/k0niL49PDyLgQ7BGF6pMOTkJCfR+U0LkgyWazilcl\nHLW1\r\n=FsAv\r\n-----END PGP SIGNATURE-----\r\n","size":84091},"maintainers":[{"name":"zhangchenglin","email":"469946668@qq.com"}],"_npmUser":{"name":"zhangchenglin","email":"469946668@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bootstrap-modal-js_0.0.1-alpha.beta.7_1552636227601_0.8732258049366421"},"_hasShrinkwrap":false,"deprecated":"This version is deprecated, please use the new version.","_cnpmcore_publish_time":"2021-12-25T03:38:55.122Z","readme":"## bootstrap-modal-js\r\n\r\nCurrently supports bootstrap v5.1.2\r\n\r\nBootstrap 5 components \"Modal\"\r\n\r\nCurrently relying on Bootstrap v5, because it is a function package of Bootstrap modal.\r\n\r\nSupports arbitrary calls of 9 parameters, supports callback functions based on modal events.\r\n\r\n---\r\n\r\nIf it helps you, please **star** this repository\r\n\r\n---\r\n\r\n## Demo\r\n\r\nhttps://ZhangChengLin.github.io/bootstrap-modal-js/demo.html\r\n\r\n---\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n---\r\n\r\n## Table of Contents\r\n\r\n| |\r\n| :---------------------------------------------- |\r\n| [How to use it](#how-to-use-it) |\r\n| [How to install](#how-to-install) |\r\n| [CDN](#cdn) |\r\n| [Parameter Description](#parameter-description) |\r\n| [Donate](#donate) |\r\n| [License](#license) |\r\n\r\n\r\n## How to use it\r\n\r\n```\r\n\r\n\r\n\r\ntext\r\n```\r\n\r\nOR\r\n\r\n```\r\ntext\r\n\r\n\r\n\r\n\r\n```\r\nOR MORE\r\n\r\n\r\n## How to install\r\n\r\n```\r\nnpm i bootstrap-modal-js --save\r\n```\r\n\r\nOR\r\n\r\n```\r\ncnpm i bootstrap-modal-js --save\r\n```\r\n\r\n## CDN\r\n\r\n- **jsDelivr**\r\n\r\n```\r\n\r\n```\r\n\r\nOR\r\n\r\n```\r\n\r\n```\r\n\r\n- **UNPKG**\r\n\r\nView all versions\r\n\r\n```\r\nhttps://unpkg.com/bootstrap-modal-js/\r\n```\r\n\r\nAfter the browser parses, get the latest version address\r\n\r\n```\r\nhttps://unpkg.com/bootstrap-modal-js\r\n```\r\n\r\n## Parameter Description\r\n\r\n```\r\nbootstrapModalJs(title, body, footer, ModalSizes, VerticallyCentered, LongContentType, EventType, CallbackFunction, Options)\r\n```\r\n\r\n**Return Values**\r\n\r\n| type | such as | Description |\r\n| :----: | :------------:| :-------------------:|\r\n| String | 1552756356601 | modal element number |\r\n\r\n---\r\n\r\n- **title**\r\n\r\nType: String \\| Function \\| Function HTMLElement\r\n\r\nDefault value: undefined\r\n\r\nDescription: If you want to add a child element to the '.modal-header' element, use the Function HTMLElement.\r\n\r\n说明: 如果要向 \".modal-header\" 元素添加子元素,请使用 Function HTMLElement。\r\n\r\n---\r\n- **body**\r\n\r\nType: String \\| Function \\| Function HTMLElement\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n---\r\n- **footer**\r\n\r\nType: String \\| Function \\| Function HTMLElement\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n---\r\n- **ModalSizes**\r\n\r\nType: String\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n| parameter|\r\n| :-------:|\r\n| sm |\r\n| lg |\r\n| xl |\r\n| full |\r\n| full-sm |\r\n| full-md |\r\n| full-lg |\r\n| full-xl |\r\n| full-xxl |\r\n\r\n---\r\n- **VerticallyCentered**\r\n\r\nType: Boolean\r\n\r\nDefault value: false\r\n\r\nDescription:\r\n\r\n| parameter|\r\n| :-------:|\r\n| true |\r\n| false |\r\n\r\n---\r\n- **LongContentType**\r\n\r\nType: Boolean\r\n\r\nDefault value: false\r\n\r\nDescription:\r\n\r\n| parameter|\r\n| :-------:|\r\n| true |\r\n| false |\r\n\r\n---\r\n- **EventType**\r\n\r\nType: String\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n| parameter|\r\n| :-------:|\r\n| show |\r\n| shown |\r\n| hide |\r\n| hidden |\r\n\r\n---\r\n- **CallbackFunction**\r\n\r\nType: Function\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n---\r\n- **Options**\r\n\r\nType: Object\r\n\r\nDefault value:\r\n\r\nDescription: Bootstrap Modal options\r\n\r\n| parameter | default value (boolean) | other |\r\n| :-------: | :---------------------: | :-------------------: |\r\n| backdrop | true | false | \"static\" |\r\n| keyboard | true | false |\r\n| focus | true | false |\r\n| show | true | false |\r\n\r\n---\r\n\r\n## Donate\r\n\r\n| Method (priority) | type |\r\n| :---------------- | :-------------------------------------------------------------: |\r\n| alipay (支付宝) | [QR code](https://ZhangChengLin.github.io/image/pay-alipay.jpg) |\r\n| QQ | [QR code](https://ZhangChengLin.github.io/image/pay-qq.png) |\r\n| WeChat (微信) | |\r\n| PayPal (贝宝) | [PayPal.Me](https://www.paypal.me/ZhangChengLin) |\r\n\r\n---\r\n\r\n## License\r\n\r\n**MIT**\r\n\r\nunder the MIT License (license terms are at https://opensource.org/licenses/MIT).\r\n\r\n"}