Skip to content

Files

Latest commit

 

History

History
20 lines (14 loc) · 343 Bytes

require-v-slotted-argument.md

File metadata and controls

20 lines (14 loc) · 343 Bytes

Pattern: Missing ::v-slotted() argument

Issue: -

Description

Requires that a selector argument be passed to ::v-slotted() pseudo-element when styling slotted content.

Examples

<style scoped>
/* ✗ BAD */
.baz .qux ::v-slotted() {}
.baz .qux ::v-slotted {}

/* ✓ GOOD */
.baz .qux ::v-slotted(.foo .bar) {}
</style>