Breaking changes / updates on WLX/Slides #60
JerryI
started this conversation in
Documentation
Replies: 1 comment
-
UPD: All examples, packages and tutorials were updated accordingly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's been a long time we started to work on WLX (Wolfram Language XML) syntax extension. For now it entered into its final form.
Let me remind you, what you can do with it
or in slides
Now you have a component to make two columns
👉 See more on slides in the advanced section of docs (SLIDES)
Animations
In general all visuals can be done in the same way as in regular cells, since it uses the same approach
layout
This is a typical approach I (@JerryI ) use for my reports on a work. Here we have an graphics component
Figure
with a parameter that specifies anuid
for events, on which it is subscribed. And the event listenerSlideEvent
, that captures what happens on a slide (a slide got revealed or a fragment popped up) and sends them to an event object labelled as"routed-event"
.Now the actual code for all functions we used
This little script will plot randomly distributed points as lines for its initial state. When the event is fired, it changes the distribution of points to a circle. The result will look like
What was broken?
We have changed the way, how parmeters or options are provided. See on the example below
where
before
after
Basically, before all parameters were passed as global variables, which is not obvious from the code structure. However, now it works as if it was usual
Options
of a symbol. Which is also great for WL ecosystem, since it bridges two languages nicer and provides clear view on what code does (comes handy if you many many of those pieces).Cheers,
Kirill (@JerryI)
Beta Was this translation helpful? Give feedback.
All reactions