V
Size: a a a
V
А
Д
В
Methods
disconnect()Stops the MutationObserver instance from receiving further notifications until and unless observe() is called again.observe()Configures the MutationObserver to begin receiving notifications through its callback function when DOM changes matching the given options occur
Б
Б
А
D
D
AP
Ш
<div class='main'>
<p class='text'>Some text 1<p>
<p class='text'>Some text 2<p>
</div>
.main .text:not(:only-child, :last-of-type)::after {
content: ', ';
}
1
<div class='main'>
<p class='text'>Some text 1<p>
<p class='text'>Some text 2<p>
</div>
.main .text:not(:only-child, :last-of-type)::after {
content: ', ';
}
Ш
S2
ЯА
🏡К
ЯА
A
🏡К
j
<div class='main'>
<p class='text'>Some text 1<p>
<p class='text'>Some text 2<p>
</div>
.main .text:not(:only-child, :last-of-type)::after {
content: ', ';
}
.main .text:not(:only-of-type):first-of-type::before {
content: ', ';
}
<div class='main'>
<p class='text'>Some text 1</p>
</div>
<div class='main'>
<p class='text'>Some text 1</p>
<p class='text'>Some text 2</p>
</div>