Forum Discussion

greenelephant's avatar
greenelephant
New Member
10 years ago
Solved

How can i use momentjs in custom visuals?

I am writing a simple custom visual and i would like to know how i could go about and use moment.js in that visual.
I saw there is a typescript def in the git-repo ->PowerBI-visuals/src/Clients/Typedefs/moment/moment.d.ts
Does that mean that moment.js is avaiable as a common lib, ready to use in custom visuals?

4 Replies