خطأ في استخدام {{didInsert}} في مكون موصل: "لا يمكن استدعاء مُنشئ الفئة DidInsertModifier بدون 'new'"

It looks like there’s some code missing from your example? I’d expect to see a <template> / </template>, and for the modifier to be attached to an element like

<template>
  <div {{didInsert this.modifyElement}}>
    ...
  </div>
</template>
إعجاب واحد (1)