I'm new to PowerApps and PFC. I am wondering if it is possible to have a PFC that wraps the abilities of a 3rd party js library like vis-timeline into a PFC. The vis-timeline jslibrary does contain typescript types but is not a pure typescript codebase. Any pointers would be appreciated.
@marklynde The code base doesn't need to be Typescript.
Check the example called Bundled ESM in the visjs repo.
Create a PCF control as indicated here, and in the init method of your control, create a div element that will contain your visjs timeline.
Then pass this div container to the Timeline constructor.
const timeline = new Timeline(container, items, options)
I hope it helps!
WarrenBelz
87
Most Valuable Professional
mmbr1606
71
Super User 2025 Season 1
Michael E. Gernaey
65
Super User 2025 Season 1