{"name":"bootstrap-modal-js","version":"1.0.0","description":"Bootstrap modal","main":"dist/bootstrap-modal-js.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","bugs":{"url":"https://github.com/zhangchenglin/bootstrap-modal-js/issues"},"keywords":["bootstrap","modal","bootstrap4","components"],"author":{"name":"张成林","email":"469946668@qq.com","url":"https://zhangchenglin.github.io"},"license":"MIT","engines":{"bootstrap":"4.2.1 - 4.3.1"},"devDependencies":{"gulp":"^4.0.0","gulp-header":"^2.0.7","gulp-rename":"^1.4.0","gulp-terser":"^1.1.7"},"dependencies":{"bootstrap":"^4.3.1","jquery":"^3.3.1","popper.js":"^1.14.7"},"gitHead":"883a9dde9bc483c2a8cfd5fa4bd4ba440bf6f110","homepage":"https://github.com/zhangchenglin/bootstrap-modal-js#readme","_id":"bootstrap-modal-js@1.0.0","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-IAKVwroahlNxBWZwhXioB7lTJyYp0SWmYeOu4gb618RBS/9DYcXRAuwbOnxvgjd6E7TcbV4zYjqh/qsol3sU7w==","shasum":"f87f9b4c34a00cea497f6e14f45fc24fa94f685e","tarball":"https://r2.cnpmjs.org/bootstrap-modal-js/-/bootstrap-modal-js-1.0.0.tgz","fileCount":10,"unpackedSize":363463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckZHgCRA9TVsSAnZWagAA7akP/34poPMwJXYT8JgSgXdp\ncKreBNG+C7+X2E9MzfmHjFRmo6rp6Tp93/25/vIoDoBmU/Fa4FY8xVAXU/8n\nIZxI9DUmeI5EtZb9NlR2PGHp16V+YvQNwg/2rTqklwVt8SLgOkRDgAR9F+iU\n4iUxCXBSEMed/0ppUWCz78rL4cZQigjjK1qKidgmeufzeuJr/JM9T8SApAbJ\ndadn6PoLuHwhlO+NfE+EipEEVS/hvnSpEH7AthyaftAU6qxCT0rNX9O1/umH\n3ii8MzNPSHRgzI9PyMF+O5pFhPNY3U5D+M6NP/bXmtCCtf0YXoMHwe+7/FY0\nOc39K7PwJK+9bNzaCttcFpbsgELBPIfkue/0rp4+EfNP/g2c1yTR3AwwTd8T\nr7TfY09hM2BIQXJ3UIereBLfpA4W2y8WXyinkD02/4trUWoB8s0nUytxS4zy\n7EsuRlZZMJTEnpSV/vQEPr4rzvrUIlY4nSRCX/yp9DOI3m8bmNNjsR594jn5\nA5RMqwRqDvCiIGo7cwMQ+2eND4ttbcd29UhT94IK4EMsSLaO1hH8KhAtlkVT\nkNBKMlOBu2CocU4k0P/ogGyceN7bVwjUi3x+N4U9bC48oS7BCR6+hMifRSkS\nU3YptuoaZjKQzRn7vuxlwkwUMoYnXYf6dkSI2SnX/oA1iTprguNfLVVMIFCG\nSe2U\r\n=r5BV\r\n-----END PGP SIGNATURE-----\r\n","size":84744},"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_1.0.0_1553043934898_0.042059912034045466"},"_hasShrinkwrap":false,"deprecated":"v1.0.1 Published","_cnpmcore_publish_time":"2021-12-25T03:39:03.953Z","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"}