{"name":"bootstrap-modal-js","version":"1.0.0-beta","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","keywords":["bootstrap","modal","components"],"author":{"name":"张成林","email":"469946668@qq.com","url":"https://zhangchenglin.github.io"},"license":"MIT","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":"aee9717058ed2e8be3abe35ef9a26c9f47755ec3","bugs":{"url":"https://github.com/zhangchenglin/bootstrap-modal-js/issues"},"homepage":"https://github.com/zhangchenglin/bootstrap-modal-js#readme","_id":"bootstrap-modal-js@1.0.0-beta","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-BqbaAO3CwafNs0oB5OSzD1CL8YIspLjJLB66gEfobRuClMwqtTNisI+PxvXbeICQaVPQ+Uvjxux9kNgnX0qClw==","shasum":"49dbb210dc103c031795fe067a9abe4399793135","tarball":"https://r2.cnpmjs.org/bootstrap-modal-js/-/bootstrap-modal-js-1.0.0-beta.tgz","fileCount":10,"unpackedSize":360427,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjiw/CRA9TVsSAnZWagAAXIoP/R29mcTMaJMohuccvRur\njC5AnZtwCCfK0YKFii90Di+BWRhnH9gy2OO1vhmNS2IVbI+I/9QOCLvuPKpV\nnaHTWzdRCVZjWWdY0Sab3P1UPnQRz4VzcfLxmCzVAthdPo5c2V80sNmeCeQT\ny2dYLzygXU2my2kz7hwWSywjvsIN4jfNmdq7WZqM5KT4mCheCsaeTJNnZkpI\nSm+ADaa679cDar7donRoyPcc4W2ciSn41K517yJJFx1YiPcyr9duj5f+mJmR\nLJDwJ4m4j3Gpg0/OeT1mtERe5BeXIK8Gvc6d7eYQOvmE/8k9MRBzvbyVkkMr\n6gkHAIr73ouErfRpNJZm4WbpXwlYVKEkU2rHFIUFpTgMSP4oaPVZ2Xinsmrt\nWRwyKa63WInHuK4qASAlo96Jq7alW6M1hImhESjToxaQTrJiZIZsn63ePOrc\nTb7rzgvnGDmeP7i3xk2jXyZsVrrkS6MjHGnQLX/S+pHgWWQIMiPnd69f9+hq\n9XkfCFbsMVeY4hPsRc+vTm3i6c+YCa7QlXmkLk93S5Ez3wynaBlQgTIfnyDd\nzeLjFVQlQOY+fG2wUiFaecckIuslgj1I0exz2BSDf8OkNpeArtj3t2q8IlbK\nv9+tJdQtPH2WmHq5m2gJ1CTr/UofkGTobSe7WFJZSL692uvFSnksbTWOCyMR\nUB6l\r\n=ZcVe\r\n-----END PGP SIGNATURE-----\r\n","size":84216},"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-beta_1552821310467_0.8894859255263283"},"_hasShrinkwrap":false,"deprecated":"v1.0.1 Published","_cnpmcore_publish_time":"2021-12-25T03:39:01.848Z","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"}