{"_id":"chimee-helper-dom","_rev":"891295","name":"chimee-helper-dom","description":"dom hanlders of chimee","dist-tags":{"latest":"0.1.8"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"huzunjie@pyzy.net","name":"huzunjie"},{"email":"353904974@qq.com","name":"toxicjohann"},{"email":"18636404184@163.com","name":"yandeqiang"},{"email":"332065255@qq.com","name":"gaoyiyi"},{"email":"522963130@qq.com","name":"songguangyu"}],"time":{"modified":"2024-07-19T19:30:44.000Z","created":"2017-07-06T11:07:41.410Z","0.1.8":"2017-12-26T07:21:20.503Z","0.1.7":"2017-11-24T15:44:41.614Z","0.1.6":"2017-11-24T14:44:21.069Z","0.1.5":"2017-11-06T11:14:39.883Z","0.1.4":"2017-11-06T11:03:03.415Z","0.1.3":"2017-07-26T04:03:12.099Z","0.1.2":"2017-07-26T02:27:38.513Z","0.1.1":"2017-07-07T09:14:15.363Z","0.1.0":"2017-07-06T11:07:41.410Z"},"users":{},"author":{"name":"huzunjie"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"versions":{"0.1.8":{"name":"chimee-helper-dom","version":"0.1.8","description":"dom hanlders of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint . --fix && node env-check.js","precommit":"npm run lint","prepush":"npm run test","prepublishOnly":"npm t && npm run doc","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js","doc":"documentation readme  src/index.js --section=doc --github=true --project-version=true"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["dom","chimee","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.2.0","toxic-predicate-functions":"^0.1.5"},"devDependencies":{"babel-eslint":"^8.0.2","babel-jest":"^22.0.4","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","documentation":"^5.3.5","eslint":"^4.10.0","eslint-config-egg":"^6.0.0","eslint-plugin-jest":"^21.3.2","husky":"^0.14.1","jest":"^22.0.4","nyc":"^11.3.0","rollup":"^0.53.0","rollup-plugin-babel":"^3.0.2","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.2.0"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"61a98968fd57e5191432ab35c781068d04988220","_id":"chimee-helper-dom@0.1.8","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"toxicjohann","email":"353904974@qq.com"},"dist":{"integrity":"sha512-V6yVko4Iy7cWZvQ1FmsFMeo4qriz0oYHfgKQqFW6XpykIYS+bxzjJ/9MbXoDUlfqE469KJQf9mq6qvONwn8IxQ==","shasum":"8d3fac173ea1cd3da2b51575772e6b082a22831f","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIZpCEFnfhO5esubq5UwK4yiFHv0eZGqS3t3FuFgEnPQIhAIp22rdO7vWRwImHpo9dvyyF0Xv8vAudv/rrBz4veIrP"}],"size":48939,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.8.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"huzunjie@pyzy.net","name":"huzunjie"},{"email":"353904974@qq.com","name":"toxicjohann"},{"email":"18636404184@163.com","name":"yandeqiang"},{"email":"332065255@qq.com","name":"gaoyiyi"},{"email":"522963130@qq.com","name":"songguangyu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.8.tgz_1514272880306_0.8034454062581062"},"directories":{},"publish_time":1514272880503,"_cnpm_publish_time":1514272880503},"0.1.7":{"name":"chimee-helper-dom","version":"0.1.7","description":"dom hanlders of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js","doc":"documentation readme  src/index.js --section=doc --github=true --project-version=true"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["dom","chimee","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.2.0","toxic-predicate-functions":"^0.1.5"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","documentation":"^4.0.0","eslint":"^4.10.0","eslint-plugin-flowtype":"^2.39.1","eslint-plugin-jest":"^20.0.3","flow-bin":"^0.49.1","husky":"^0.14.1","jest":"^20.0.4","nyc":"^11.3.0","rollup":"^0.43.0","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.1.6"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"f4846df3756281209bdf89873827bfcbd5451ba4","_id":"chimee-helper-dom@0.1.7","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-DXz2KQL/v4H9ySP7rgCeUmNJ4WMY569bV/L5jTxr1EmebelT8xoZzW69sciWE7sqrrRAZF95EUJEiudMozH59Q==","shasum":"704e73fdb7b8eb0ac4e813f85c44b5af19752d48","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKrMmL48cTa/e7MfHO6KdTh3mTkJOJk310zIm4ZaTSNAiAXzto9H4r3M0qUR3+HoKJ6RRVJIKUFHsJqWLbt3w/5WQ=="}],"size":55240,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.7.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"huzunjie@pyzy.net","name":"huzunjie"},{"email":"353904974@qq.com","name":"toxicjohann"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.7.tgz_1511538281511_0.905462353490293"},"directories":{},"publish_time":1511538281614,"_cnpm_publish_time":1511538281614},"0.1.6":{"name":"chimee-helper-dom","version":"0.1.6","description":"dom hanlders of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js","doc":"documentation readme  src/index.js --section=doc --github=true --project-version=true"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["dom","chimee","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.2.0","toxic-predicate-functions":"^0.1.5"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","documentation":"^4.0.0","eslint":"^4.10.0","eslint-plugin-flowtype":"^2.39.1","eslint-plugin-jest":"^20.0.3","flow-bin":"^0.49.1","husky":"^0.14.1","jest":"^20.0.4","nyc":"^11.3.0","rollup":"^0.43.0","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.1.6"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"ffa0f827532bc739a99da80272422dd668f52dbd","_id":"chimee-helper-dom@0.1.6","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-cZBFL8oky5OysQYz1Sr9hA1gvGdnmyFxbwyZTLQThCOa/1f5QViX7xSoDOYWlFOeFKmJbku0/qW0+VIbTm8YKQ==","shasum":"6efa92e789bd8eb5cc846e3eb4a74453f31c9163","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDC3VSiT0Qi+VGmFLqu5oLClb+3FgR9tGmJPecC+xPHLgIgR43Lb7cUYk48Cj6To3NrOMmtshqUxQP+2+InprsJQfQ="}],"size":55340,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.6.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"huzunjie@pyzy.net","name":"huzunjie"},{"email":"353904974@qq.com","name":"toxicjohann"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.6.tgz_1511534660973_0.2100749728269875"},"directories":{},"publish_time":1511534661069,"_cnpm_publish_time":1511534661069},"0.1.5":{"name":"chimee-helper-dom","version":"0.1.5","description":"dom hanlders of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js","doc":"documentation readme  src/index.js --section=doc --github=true --project-version=true"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["dom","chimee","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.2.0","toxic-predicate-functions":"^0.1.5"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","documentation":"^4.0.0","eslint":"^4.10.0","eslint-plugin-flowtype":"^2.39.1","eslint-plugin-jest":"^20.0.3","flow-bin":"^0.49.1","husky":"^0.14.1","jest":"^20.0.4","nyc":"^11.3.0","rollup":"^0.43.0","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.1.6"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"7f94dc714b5c56dabe03ab443ba49b94565d5302","_id":"chimee-helper-dom@0.1.5","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-R1bCfA69uls1UINRAlyROSycx9JIQ1e5JHalVdZHA/n+ZLdu1wyU6WYSs17Vgnq+YLAIrph9omV/0qkEciJb6A==","shasum":"e503f1614f79d051d3228ce1a0574947a962e234","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDK7PSVc4+XQcTMRHCjFoanQIZ4irqPMuScHABTNrkmIAiEAjKmq712P7FdbW4fOE2PtoWD10jBtQ7+RSNS9HwzopBw="}],"size":54850,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.5.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"huzunjie@pyzy.net","name":"huzunjie"},{"email":"353904974@qq.com","name":"toxicjohann"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.5.tgz_1509966879821_0.30257892794907093"},"directories":{},"publish_time":1509966879883,"_cnpm_publish_time":1509966879883},"0.1.4":{"name":"chimee-helper-dom","version":"0.1.4","description":"dom hanlders of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js","doc":"documentation readme  src/index.js --section=doc --github=true --project-version=true"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["dom","chimee","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.26.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.2.0","toxic-predicate-functions":"^0.1.5"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","documentation":"^4.0.0","eslint":"^4.10.0","eslint-plugin-flowtype":"^2.39.1","eslint-plugin-jest":"^20.0.3","flow-bin":"^0.49.1","husky":"^0.14.1","jest":"^20.0.4","nyc":"^11.3.0","rollup":"^0.43.0","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.1.6"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"73be78b5fbcae068980b4ab62a389abc5de14d18","_id":"chimee-helper-dom@0.1.4","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-nsHr2+Cc8UKKxUNO69RECRX+LnoWNhc4IIBzTu3a24qE/+Ad/wIbVn0iil1TRGu8QPQVj/DKQyBrwi+0FsZn2A==","shasum":"90a775417f53e1e7702ce064c1eda2eb94b55253","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpCCa4KyAkB28SIliPewH4WiNPwllZjEJd5+65YWOzJgIgOYh5X2Bu4tMNtOpZMFBve1QTDsTuj/rdq9dC8o5mACs="}],"size":54864,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.4.tgz"},"maintainers":[{"email":"welefen@gmail.com","name":"welefen"},{"email":"huzunjie@pyzy.net","name":"huzunjie"},{"email":"353904974@qq.com","name":"toxicjohann"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.4.tgz_1509966183301_0.6032432487700135"},"directories":{},"publish_time":1509966183415,"_cnpm_publish_time":1509966183415},"0.1.3":{"name":"chimee-helper-dom","version":"0.1.3","description":"dom hanlders of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js","doc":"documentation readme  src/index.js --section=doc --github=true --project-version=true"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["dom","chimee","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.23.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.1.1","toxic-predicate-functions":"^0.1.2"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","documentation":"^4.0.0-rc.1","eslint":"^4.0.0","eslint-plugin-flowtype":"^2.34.0","eslint-plugin-jest":"^20.0.3","flow-bin":"^0.49.1","husky":"^0.14.1","jest":"^20.0.4","nyc":"^11.0.2","rollup":"^0.43.0","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.1.3"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"40d6cdc571ef139e50bfcdaf4272028a58b3249e","_id":"chimee-helper-dom@0.1.3","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-rTqZm0UpEefWnfr7qgvGkqR0u2BjkrxgyvCOHrxzYdp6D88LG+Hs2Aiv4X6tmSyODg9/WogpYEkas4n2KQYtkA==","shasum":"35e5b0edf9df16961d930d3758f1cc41784e183b","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDnNLgtBvExsMDT8ulTK3L7YUIpCDqnGpj2UglRglAsdAiBqQDbwrgLSXSaPjgoToJY5mkqQjOjthF6p0AYL9kQgeQ=="}],"size":54503,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.3.tgz"},"maintainers":[{"name":"huzunjie","email":"huzunjie@pyzy.net"},{"name":"toxicjohann","email":"353904974@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.3.tgz_1501041791906_0.43377669202163815"},"directories":{},"publish_time":1501041792099,"_cnpm_publish_time":1501041792099},"0.1.2":{"name":"chimee-helper-dom","version":"0.1.2","description":"dom hanlders of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js","doc":"documentation readme  src/index.js --section=doc --github=true --project-version=true"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["dom","chimee","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.23.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.1.1","toxic-predicate-functions":"^0.1.2"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","documentation":"^4.0.0-rc.1","eslint":"^4.0.0","eslint-plugin-flowtype":"^2.34.0","eslint-plugin-jest":"^20.0.3","flow-bin":"^0.49.1","husky":"^0.14.1","jest":"^20.0.4","nyc":"^11.0.2","rollup":"^0.43.0","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.1.3"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"ca29fb720804f5bc761b7f98cf51e0f1ead4cbe4","_id":"chimee-helper-dom@0.1.2","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"huzunjie","email":"huzunjie@pyzy.net"},"dist":{"integrity":"sha512-OjyKEwwWs9unmvBnmgw91ipun3z5wrDh6tw2G7Mt2lyPWbjTTaDHK6yw6bMpmo4YrOrOLFu3Avu2EHucOu+orQ==","shasum":"d76ec0541d7ba1a4ad47f2146793a3648f0af2c2","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRv5pdoxbCfVb2V4jswbp1anWm1ekL5ikb4LBug1wzaAiEAjmH0+9kEpoMIOn6i9KQhbEfrpWsIYw1/GQz3TDNNtrg="}],"size":54466,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.2.tgz"},"maintainers":[{"name":"huzunjie","email":"huzunjie@pyzy.net"},{"name":"toxicjohann","email":"353904974@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.2.tgz_1501036058432_0.10374828637577593"},"directories":{},"publish_time":1501036058513,"_cnpm_publish_time":1501036058513},"0.1.1":{"name":"chimee-helper-dom","version":"0.1.1","description":"dom hanlders of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js","doc":"documentation readme  src/index.js --section=doc --github=true --project-version=true"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["dom","chimee","video"],"author":{"name":"huzunjie"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.23.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.1.1","toxic-predicate-functions":"^0.1.2"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","documentation":"^4.0.0-rc.1","eslint":"^4.0.0","eslint-plugin-flowtype":"^2.34.0","eslint-plugin-jest":"^20.0.3","flow-bin":"^0.49.1","husky":"^0.14.1","jest":"^20.0.4","nyc":"^11.0.2","rollup":"^0.43.0","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.1.3"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"d2de1a45f9d77b02f50296ced67a8b4ea08038ea","_id":"chimee-helper-dom@0.1.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.3","_npmUser":{"name":"toxicjohann","email":"353904974@qq.com"},"dist":{"integrity":"sha512-7Pi9JK7pwCvMpiEOGHLmH6/G2WxWoIANJ1WOqjdrl7A2lgFQVRWtlKp5N7WcMSeMD4dG2KDRW/aHinGAsYtP0g==","shasum":"1f5d04304a982848f31b227386d9e05b5a626ac4","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAYYMoJB4oDu0gTfBeT5IhRuUs5+tLzHKNYkzIQJNSyNAiANtUA+uBX3HETSjHjwMyBO51WXkw7FBcVYb4aqADnDAA=="}],"size":54509,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.1.tgz"},"maintainers":[{"name":"toxicjohann","email":"353904974@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.1.tgz_1499418854952_0.6774229637812823"},"directories":{},"publish_time":1499418855363,"_cnpm_publish_time":1499418855363},"0.1.0":{"name":"chimee-helper-dom","version":"0.1.0","description":"utils of chimee","main":"lib/index.js","module":"lib/index.mjs","jsnext:main":"lib/index.mjs","browser":"lib/index.browser.js","scripts":{"test":"jest --coverage","start":"jest --coverage --watch","flow":"flow","lint":"eslint ./src --fix","precommit":"npm run lint","prepush":"npm run test","build":"npm run b-common && npm run b-es && npm run b-umd && npm run b-min","b-common":"rollup -c build/rollup.config.common.js","b-es":"rollup -c build/rollup.config.es.js","b-umd":"rollup -c build/rollup.config.umd.js","b-min":"rollup -c build/rollup.config.min.js"},"repository":{"type":"git","url":"git+https://github.com/Chimeejs/chimee-helper-dom.git"},"keywords":["events","chimee","video"],"author":{"name":"toxic-johann"},"license":"MIT","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","dependencies":{"babel-runtime":"^6.23.0","chimee-helper-events":"^0.1.0","chimee-helper-utils":"^0.1.1","toxic-predicate-functions":"^0.1.2"},"devDependencies":{"babel-eslint":"^7.2.3","babel-jest":"^20.0.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015-rollup":"^3.0.0","babel-preset-flow":"^6.23.0","babel-preset-latest":"^6.24.1","eslint":"^4.0.0","eslint-plugin-flowtype":"^2.34.0","eslint-plugin-jest":"^20.0.3","flow-bin":"^0.49.1","husky":"^0.14.1","jest":"^20.0.4","nyc":"^11.0.2","rollup":"^0.43.0","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-includepaths":"^0.2.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^2.0.1","toxic-utils":"^0.1.3"},"jest":{"modulePaths":["src"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules","bower_components"],"transform":{".*":"babel-jest"}},"gitHead":"aa9cf449b208b3e874a0af58e2006af7cd76ad7a","_id":"chimee-helper-dom@0.1.0","_shasum":"1b101140991a4f55b6b55359c04643b3cd4249df","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"toxicjohann","email":"353904974@qq.com"},"dist":{"shasum":"1b101140991a4f55b6b55359c04643b3cd4249df","tarball":"http://registry-npm.ywwl.com/chimee-helper-dom/download/chimee-helper-dom-0.1.0.tgz","integrity":"sha512-P8eIgdXkC+/Npv16/u0lYbQMjnK7eRdHhlsqOsGimvufCOW6gZOyjQxT+4WquiXiFCEwfC/nXtLdV7WyDsurHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwJ36FMdAWTqZM9sR3F9kUP88BF2VUTUvhF0gWRS8k2AiA920QGuVHG53Satovq+L/WwXuIPplQKkAeOq2lBABY2Q=="}],"size":50918,"noattachment":false,"key":"/chimee-helper-dom/-/chimee-helper-dom-0.1.0.tgz"},"maintainers":[{"name":"toxicjohann","email":"353904974@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chimee-helper-dom-0.1.0.tgz_1499339261216_0.6617937639821321"},"directories":{},"publish_time":1499339261410,"_cnpm_publish_time":1499339261410}},"readme":"# chimee-helper-dom\n\n[![Build Status](https://img.shields.io/travis/Chimeejs/chimee-helper-dom/master.svg?style=flat-square)](https://travis-ci.org/Chimeejs/chimee-helper-dom.svg?branch=master)\n[![Coverage Status](https://img.shields.io/coveralls/Chimeejs/chimee-helper-dom/master.svg?style=flat-square)](https://coveralls.io/github/Chimeejs/chimee-helper-dom?branch=master)\n[![npm](https://img.shields.io/npm/v/chimee-helper-dom.svg?colorB=brightgreen&style=flat-square)](https://www.npmjs.com/package/chimee-helper-dom)\n[![dependency Status](https://david-dm.org/Chimeejs/chimee-helper-dom.svg)](https://david-dm.org/Chimeejs/chimee-helper-dom)\n[![devDependency Status](https://david-dm.org/Chimeejs/chimee-helper-dom/dev-status.svg)](https://david-dm.org/Chimeejs/chimee-helper-dom?type=dev)\n\ndom handler of chimee\n\n## get started\n\n```shell\nnpm install chimee-helper-dom --save\n```\n\nif you are using `flow`, you should import our flow defination, by adding this to your `.flowconfig`.\n\n    [ignore]\n\n    [include]\n\n    [libs]\n    ./node_modules/chimee-helper-dom/lib/index.flow.js\n    [options]\n\n    [lints]\n\n## doc\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n-   [dom](#dom)\n-   [getAttr](#getattr)\n-   [setAttr](#setattr)\n-   [addClassName](#addclassname)\n-   [removeClassName](#removeclassname)\n-   [hasClassName](#hasclassname)\n-   [supportsPassive](#supportspassive)\n-   [removeEvent](#removeevent)\n-   [addEvent](#addevent)\n-   [addDelegate](#adddelegate)\n-   [removeDelegate](#removedelegate)\n-   [getStyle](#getstyle)\n-   [setStyle](#setstyle)\n-   [query](#query)\n-   [removeEl](#removeel)\n-   [findParents](#findparents)\n-   [NodeWrap](#nodewrap)\n    -   [each](#each)\n    -   [push](#push)\n    -   [splice](#splice)\n    -   [find](#find)\n    -   [append](#append)\n    -   [appendTo](#appendto)\n    -   [text](#text)\n    -   [html](#html)\n    -   [attr](#attr)\n    -   [data](#data)\n    -   [css](#css)\n    -   [addClass](#addclass)\n    -   [removeClass](#removeclass)\n    -   [hasClass](#hasclass)\n    -   [on](#on)\n    -   [off](#off)\n    -   [delegate](#delegate)\n    -   [undelegate](#undelegate)\n    -   [remove](#remove)\n-   [$](#)\n\n### dom\n\n[src/index.js:11-11](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L11-L11 \"Source code on GitHub\")\n\n一些常用的DOM判断及操作方法，可以使用dom.$('\\*')包装DOM，实现类jQuery的链式操作；当然这里的静态方法也可以直接使用。\n\n**Meta**\n\n-   **author**: huzunjie\n\n### getAttr\n\n[src/index.js:22-24](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L22-L24 \"Source code on GitHub\")\n\n读取HTML元素属性值\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `attrName` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 目标属性名称\n\nReturns **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** \n\n### setAttr\n\n[src/index.js:32-38](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L32-L38 \"Source code on GitHub\")\n\n设置HTML元素属性值\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `attrName` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 目标属性名称\n-   `attrVal` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 目标属性值\n\n### addClassName\n\n[src/index.js:45-59](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L45-L59 \"Source code on GitHub\")\n\n为HTML元素添加className\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `cls` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 要添加的className（多个以空格分割）\n\n### removeClassName\n\n[src/index.js:66-84](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L66-L84 \"Source code on GitHub\")\n\n为HTML元素移除className\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `cls` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 要移除的className（多个以空格分割）\n\n### hasClassName\n\n[src/index.js:92-94](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L92-L94 \"Source code on GitHub\")\n\n检查HTML元素是否已设置className\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `className` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 要检查的className\n\nReturns **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** \n\n### supportsPassive\n\n[src/index.js:100-100](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L100-L100 \"Source code on GitHub\")\n\naddEventListener 是否已支持 passive\n\nReturns **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** \n\n### removeEvent\n\n[src/index.js:120-132](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L120-L132 \"Source code on GitHub\")\n\n为HTML元素移除事件监听\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `type` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 事件名称\n-   `handler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 处理函数\n-   `once` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否只监听一次 (optional, default `false`)\n-   `capture` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否在捕获阶段的监听 (optional, default `false`)\n\n### addEvent\n\n[src/index.js:142-159](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L142-L159 \"Source code on GitHub\")\n\n为HTML元素添加事件监听\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `type` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 事件名称\n-   `handler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 处理函数\n-   `once` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否只监听一次 (optional, default `false`)\n-   `capture` **([Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean) \\| [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object))** 是否在捕获阶段监听，这里也可以传入 { passive: true } 表示被动模式 (optional, default `false`)\n\n### addDelegate\n\n[src/index.js:169-193](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L169-L193 \"Source code on GitHub\")\n\n为HTML元素添加事件代理\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `selector` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 要被代理的元素\n-   `type` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 事件名称\n-   `handler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 处理函数\n-   `capture` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否在捕获阶段监听 (optional, default `false`)\n\n### removeDelegate\n\n[src/index.js:203-210](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L203-L210 \"Source code on GitHub\")\n\n为HTML元素移除事件代理\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `selector` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 要被代理的元素\n-   `type` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 事件名称\n-   `handler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 处理函数\n-   `capture` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否在捕获阶段监听 (optional, default `false`)\n\n### getStyle\n\n[src/index.js:218-220](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L218-L220 \"Source code on GitHub\")\n\n读取HTML元素样式值\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `key` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 样式key\n\nReturns **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** \n\n### setStyle\n\n[src/index.js:228-236](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L228-L236 \"Source code on GitHub\")\n\n设置HTML元素样式值\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `key` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 样式key\n-   `val` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 样式值\n\n### query\n\n[src/index.js:245-248](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L245-L248 \"Source code on GitHub\")\n\n根据选择器查询目标元素\n\n**Parameters**\n\n-   `selector` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 选择器,用于 querySelectorAll\n-   `container` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 父容器 (optional, default `document`)\n-   `toArray` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 强制输出为数组\n\nReturns **([NodeList](https://developer.mozilla.org/docs/Web/API/NodeList) \\| [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array))** \n\n### removeEl\n\n[src/index.js:254-256](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L254-L256 \"Source code on GitHub\")\n\n从DOM树中移除el\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n\n### findParents\n\n[src/index.js:265-278](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L265-L278 \"Source code on GitHub\")\n\n查找元素的父节点们\n\n**Parameters**\n\n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 目标元素\n-   `endEl` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 最大父容器（不指定则找到html） (optional, default `null`)\n-   `haveEl` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 包含当前元素\n-   `haveEndEl` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 包含设定的最大父容器\n\n### NodeWrap\n\n[src/index.js:289-544](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L289-L544 \"Source code on GitHub\")\n\nNodeWrap DOM包装器，用以实现基本的链式操作\nnew dom.NodeWrap('_') 相当于 dom.$('_')\n这里面用于DOM操作的属性方法都是基于上面静态方法实现，有需要可以随时修改补充\n\n**Parameters**\n\n-   `selector` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 选择器(兼容 String||HTMLString||NodeList||NodeArray||HTMLElement)\n-   `container` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 父容器（默认为document）\n\n#### each\n\n[src/index.js:327-330](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L327-L330 \"Source code on GitHub\")\n\n循环遍历DOM集合\n\n**Parameters**\n\n-   `args` **...any** \n-   `fn` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 遍历函数 fn(item, i)\n\nReturns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n\n#### push\n\n[src/index.js:337-340](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L337-L340 \"Source code on GitHub\")\n\n添加元素到DOM集合\n\n**Parameters**\n\n-   `args` **...any** \n-   `el` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 要加入的元素\n\nReturns **this** \n\n#### splice\n\n[src/index.js:348-350](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L348-L350 \"Source code on GitHub\")\n\n截取DOM集合片段，并得到新的包装器splice\n\n**Parameters**\n\n-   `args` **...any** \n-   `start` **Nubmer** \n-   `count` **Nubmer** \n\nReturns **[NodeWrap](#nodewrap)** 新的DOM集合包装器\n\n#### find\n\n[src/index.js:357-366](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L357-L366 \"Source code on GitHub\")\n\n查找子元素\n\n**Parameters**\n\n-   `selector` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 选择器\n\nReturns **[NodeWrap](#nodewrap)** 新的DOM集合包装器\n\n#### append\n\n[src/index.js:373-378](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L373-L378 \"Source code on GitHub\")\n\n添加子元素\n\n**Parameters**\n\n-   `childEls` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 要添加的HTML元素\n\nReturns **this** \n\n#### appendTo\n\n[src/index.js:385-388](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L385-L388 \"Source code on GitHub\")\n\n将元素集合添加到指定容器\n\n**Parameters**\n\n-   `parentEl` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 要添加到父容器\n\nReturns **this** \n\n#### text\n\n[src/index.js:395-402](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L395-L402 \"Source code on GitHub\")\n\nDOM集合text内容读写操作\n\n**Parameters**\n\n-   `val` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 文本内容（如果有设置该参数则执行写操作，否则执行读操作）\n\nReturns **this** \n\n#### html\n\n[src/index.js:409-416](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L409-L416 \"Source code on GitHub\")\n\nDOM集合HTML内容读写操作\n\n**Parameters**\n\n-   `html` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** html内容（如果有设置该参数则执行写操作，否则执行读操作）\n\nReturns **this** \n\n#### attr\n\n[src/index.js:424-429](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L424-L429 \"Source code on GitHub\")\n\nDOM集合属性读写操作\n\n**Parameters**\n\n-   `name` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 属性名称\n-   `val` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 属性值（如果有设置该参数则执行写操作，否则执行读操作）\n\nReturns **this** \n\n#### data\n\n[src/index.js:437-447](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L437-L447 \"Source code on GitHub\")\n\nDOM集合dataset读写操作\n\n**Parameters**\n\n-   `key` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 键名\n-   `val` **Any** 键值（如果有设置该参数则执行写操作，否则执行读操作）\n\nReturns **this** \n\n#### css\n\n[src/index.js:455-460](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L455-L460 \"Source code on GitHub\")\n\nDOM集合样式读写操作\n\n**Parameters**\n\n-   `key` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 样式key\n-   `val` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 样式值（如果有设置该参数则执行写操作，否则执行读操作）\n\nReturns **this** \n\n#### addClass\n\n[src/index.js:467-469](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L467-L469 \"Source code on GitHub\")\n\n为DOM集合增加className\n\n**Parameters**\n\n-   `cls` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 要增加的className\n\nReturns **this** \n\n#### removeClass\n\n[src/index.js:476-478](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L476-L478 \"Source code on GitHub\")\n\n移除当前DOM集合的className\n\n**Parameters**\n\n-   `cls` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 要移除的className\n\nReturns **this** \n\n#### hasClass\n\n[src/index.js:485-487](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L485-L487 \"Source code on GitHub\")\n\n检查索引0的DOM是否有className\n\n**Parameters**\n\n-   `cls` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 要检查的className\n\nReturns **this** \n\n#### on\n\n[src/index.js:497-499](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L497-L499 \"Source code on GitHub\")\n\n为DOM集合添加事件监听\n\n**Parameters**\n\n-   `type` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 事件名称\n-   `handler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 处理函数\n-   `once` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否只监听一次 (optional, default `false`)\n-   `capture` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否在捕获阶段监听 (optional, default `false`)\n\nReturns **this** \n\n#### off\n\n[src/index.js:509-511](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L509-L511 \"Source code on GitHub\")\n\n为DOM集合解除事件监听\n\n**Parameters**\n\n-   `type` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 事件名称\n-   `handler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 处理函数\n-   `once` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否只监听一次 (optional, default `false`)\n-   `capture` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否在捕获阶段监听 (optional, default `false`)\n\nReturns **this** \n\n#### delegate\n\n[src/index.js:521-523](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L521-L523 \"Source code on GitHub\")\n\n为DOM集合绑定事件代理\n\n**Parameters**\n\n-   `selector` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 目标子元素选择器\n-   `type` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 事件名称\n-   `handler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 处理函数\n-   `capture` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否在捕获阶段监听 (optional, default `false`)\n\nReturns **this** \n\n#### undelegate\n\n[src/index.js:533-535](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L533-L535 \"Source code on GitHub\")\n\n为DOM集合解绑事件代理\n\n**Parameters**\n\n-   `selector` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 目标子元素选择器\n-   `type` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 事件名称\n-   `handler` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 处理函数\n-   `capture` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 是否在捕获阶段监听 (optional, default `false`)\n\nReturns **this** \n\n#### remove\n\n[src/index.js:541-543](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L541-L543 \"Source code on GitHub\")\n\n从DOM树中移除\n\nReturns **this** \n\n### $\n\n[src/index.js:552-554](https://github.com/Chimeejs/chimee-helper-dom/blob/61a98968fd57e5191432ab35c781068d04988220/src/index.js#L552-L554 \"Source code on GitHub\")\n\n根据选择器查询并得到目标元素的wrap包装器\n\n**Parameters**\n\n-   `selector` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 选择器,另外支持 HTMLString||NodeList||NodeArray||HTMLElement\n-   `container` **[HTMLElement](https://developer.mozilla.org/docs/Web/HTML/Element)** 父容器\n\nReturns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** \n","_attachments":{},"homepage":"https://github.com/Chimeejs/chimee-helper-dom#readme","bugs":{"url":"https://github.com/Chimeejs/chimee-helper-dom/issues"},"license":"MIT"}