-
-
Notifications
You must be signed in to change notification settings - Fork 642
Open
Description
I am trying to use raty-js with flyon UI .
My code looks like this
import * as Raty from 'raty-js';
...
new Raty.Raty(document.querySelector('#raty-read-only') as HTMLElement, {
starType: 'i',
starOn: 'icon-[tabler--star-filled] size-4',
starOff: 'icon-[tabler--star-filled] opacity-20 size-4',
half: true,
score: () => 3,
readOnly: () => true
})
I get the error RROR TypeError: (void 0) is not a constructor
What is the proper way to use raty-js in Angular 19?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels