| 357 | } |
| 358 | |
| 359 | componentDidLoad() { |
| 360 | /** |
| 361 | * If any of the conditions that trigger the styleChanged callback |
| 362 | * are met on component load, it is possible the event emitted |
| 363 | * prior to a parent web component registering an event listener. |
| 364 | * |
| 365 | * To ensure the parent web component receives the event, we |
| 366 | * emit the style event again after the component has loaded. |
| 367 | * |
| 368 | * This is often seen in Angular with the `dist` output target. |
| 369 | */ |
| 370 | this.emitStyle(); |
| 371 | } |
| 372 | |
| 373 | disconnectedCallback() { |
| 374 | if (this.mutationO) { |