{"_id":"@catalyst-elements/catalyst-lazy-properties-mixin","_rev":"3-1345042ecc0d89907af7debf53bd7f9f","name":"@catalyst-elements/catalyst-lazy-properties-mixin","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@catalyst-elements/catalyst-lazy-properties-mixin","license":"BSD-3-Clause","version":"0.1.0","description":"A mixin that allows for lazy properties on an element.","main":"catalyst-lazy-properties-mixin.js","repository":{"type":"git","url":"git+https://github.com/catalyst/catalyst-lazy-properties-mixin.git"},"author":{"name":"Rebecca Stevens","email":"rebeccastevens@catalyst.net.nz"},"keywords":["web-components","mixin","lazy","properties"],"bugs":{"url":"https://github.com/catalyst/catalyst-lazy-properties-mixin/issues"},"homepage":"https://github.com/catalyst/catalyst-lazy-properties-mixin#readme","scripts":{"prepublishOnly":"node -e \"assert.equal(require('./package.json').version, require('../package.json').version)\""},"licenseText":"BSD 3-Clause License\n\nCopyright (c) 2018, Catalyst Elements\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","_id":"@catalyst-elements/catalyst-lazy-properties-mixin@0.1.0","dist":{"shasum":"71032610ce031606ae29b4f8d5af9292bdebb953","tarball":"https://registry.npmjs.org/@catalyst-elements/catalyst-lazy-properties-mixin/-/catalyst-lazy-properties-mixin-0.1.0.tgz","fileCount":6,"unpackedSize":9651,"integrity":"sha512-J/Cg0xojduM0SEvymo5DvLTFhkQ17hz0V2gr+1kx+dyJy1ZevrAl2nXKI70ur6m2CJx62L+SUOG+8oaS3N9zUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYViVnxcxjdQxOHuNSXBTKJ5DRSii1RextPZrBIYNSxAiBhUnKBp2z9oC+DRr5sik8WrBzSADWiSUC5mSTZez5tkw=="}]},"maintainers":[{"name":"catalyst-elements","email":"rebeccastevens@catalyst.net.nz"}],"_npmUser":{"name":"catalyst-elements","email":"rebeccastevens@catalyst.net.nz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/catalyst-lazy-properties-mixin_0.1.0_1521792225373_0.6572366204035323"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-23T08:03:45.303Z","0.1.0":"2018-03-23T08:03:45.514Z","modified":"2022-06-12T15:42:53.613Z"},"maintainers":[{"name":"catalyst-elements","email":"rebeccastevens@catalyst.net.nz"}],"description":"A mixin that allows for lazy properties on an element.","homepage":"https://github.com/catalyst/catalyst-lazy-properties-mixin#readme","keywords":["web-components","mixin","lazy","properties"],"repository":{"type":"git","url":"git+https://github.com/catalyst/catalyst-lazy-properties-mixin.git"},"author":{"name":"Rebecca Stevens","email":"rebeccastevens@catalyst.net.nz"},"bugs":{"url":"https://github.com/catalyst/catalyst-lazy-properties-mixin/issues"},"license":"BSD-3-Clause","readme":"# catalyst-lazy-properties-mixin\n\n[![Travis](https://img.shields.io/travis/catalyst/catalyst-lazy-properties-mixin/master.svg?style=flat-square)](https://travis-ci.org/catalyst/catalyst-lazy-properties-mixin)\n[![David](https://img.shields.io/david/catalyst/catalyst-lazy-properties-mixin.svg?style=flat-square)](https://david-dm.org/catalyst/catalyst-lazy-properties-mixin)\n[![David](https://img.shields.io/david/dev/catalyst/catalyst-lazy-properties-mixin.svg?style=flat-square)](https://david-dm.org/catalyst/catalyst-lazy-properties-mixin?type=dev)\n[![npm (scoped)](https://img.shields.io/npm/v/@catalyst-elements/catalyst-lazy-properties-mixin.svg?style=flat-square)](https://www.npmjs.com/package/@catalyst-elements/catalyst-lazy-properties-mixin)\n[![Bower not supported](https://img.shields.io/badge/bower-not_supported-red.svg?style=flat-square)]()\n[![Polymer 2 not supported](https://img.shields.io/badge/Polymer_2-not_supported-red.svg?style=flat-square)]()\n[![Polymer 3 support pending](https://img.shields.io/badge/Polymer_3-support_pending-yellow.svg?style=flat-square)]()\n\n[API documentation ↗](https://catalyst.github.io/CatalystElementsBundle/#/classes/catalystLazyPropertiesMixin)\n\n`<catalyst-lazy-properties-mixin>` is a mixin that provides an element with toggle behavior.\n\n## Installation\n\nInstall with npm:\n\n```sh\nnpm install --save @catalyst-elements/catalyst-lazy-properties-mixin\n```\n\nInstall with yarn:\n\n```sh\nyarn add @catalyst-elements/catalyst-lazy-properties-mixin\n```\n\nPlease note that this package is not compatible with Bower.\n\n## Usage\n\n### As a Module (Recommend)\n\n```js\nimport catalystLazyPropertiesMixin from './node_modules/@catalyst-elements/catalyst-lazy-properties-mixin/catalyst-lazy-properties-mixin.js';\n\nclass MyLazyPropertiesElement extends catalystLazyPropertiesMixin(HTMLElement) {\n  constructor() {\n    super();\n    // ...\n  }\n\n  // ...\n}\n```\n\n### As a Script\n\n```html\n<script src=\"node_modules/@catalyst-elements/catalyst-lazy-properties-mixin/catalyst-lazy-properties-mixin.es5.min.js\"></script>\n<script>\n  var SuperClass = window.CatalystElements.catalystLazyPropertiesMixin(HTMLElement);\n\n  function MyLazyPropertiesElement() {\n    SuperClass.call(this);\n    // ...\n  };\n  MyLazyPropertiesElement.prototype = Object.create(SuperClass.prototype);\n  MyLazyPropertiesElement.prototype.constructor = MyLazyPropertiesElement;\n\n  // ...\n</script>\n```\n\nPlease note that this script has been transpiled to es5 and thus use of `custom-elements-es5-adapter.js` or an equivalent library is required. See [es5 support](https://github.com/catalyst/CatalystElements/wiki/Browser-Compatibility#es5-support) on the Catalyst Elements wiki for details.\n\n## Contributions\n\nContributions are most welcome.\n\nPlease read our [contribution guidelines](./CONTRIBUTING.md).\n","readmeFilename":"README.md"}