Forum Discussion
JesseTaber
4 days agoStaff
Storyline 360 Advanced JavaScript API
Back in March we released the Advanced JavaScript API for Storyline 360 π
What you may not know is that this project actually started as part an internal engineering "hackathon". Once a quarter ou...
Nathan_Hilliard
4 days agoCommunity Member
While I don't use many features of the API, I have grown to appreciate using it to identify slide objects and for doing simple translations/transforms that don't break when the slide is resized. This is much simpler than before.
A couple of things I would like to see:
- Provide an explicit property in object() that references the DOM element associated with the data-model-id (unless I'm missing it). While it's straightforward to get the reference, it is a lot of extra typing to use that tag to identify each of the elements. And, sometimes you just need the DOM element.
- It would be handy for object() provide some standard properties/methods the could facilitate working with the SVG structures ubiquitous to most Storyline slide objects. In particular, something that would make it easier to add or manipulate SVG filters and masks, and possible simplify accessing/manipulating path data for shapes. Having entries in object() that separated background and foreground elements would be nice too. Deconstructing SVG DOM structures after the fact and inserting modifications can look quite nice, but can also be quite a hassle.
I realize number 2 is quite niche and a significant effort, but just throwing it out there in case a bored engineer needs a side hobby.
JesseTaber
3 days agoStaff
Thanks for the feedback, Nathan_Hilliardβ ! I wouldn't say any of our engineers are "bored", but they do like a good side quest π.