Buckets:
| let Selector = require('../selector') | |
| let utils = require('../utils') | |
| class Autofill extends Selector { | |
| constructor(name, prefixes, all) { | |
| super(name, prefixes, all) | |
| if (this.prefixes) { | |
| this.prefixes = utils.uniq(this.prefixes.map(() => '-webkit-')) | |
| } | |
| } | |
| /** | |
| * Return different selectors depend on prefix | |
| */ | |
| prefixed(prefix) { | |
| if (prefix === '-webkit-') { | |
| return ':-webkit-autofill' | |
| } | |
| return `:${prefix}autofill` | |
| } | |
| } | |
| Autofill.names = [':autofill'] | |
| module.exports = Autofill | |
Xet Storage Details
- Size:
- 531 Bytes
- Xet hash:
- 5232a61f28b70e976507fc8aede8623d2ccd13a022e987dc529226c3ea82c24f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.