ποΈ Handlebars
What is templating language?
ποΈ Temple utils
Multiple utils are included in the display-temple repository that can save us a lot of work. Below are some examples:
ποΈ Font Subsetting
Font subsetting allows us to drastically reduce the overall filesize of our ads by slimming down our font files to the point where they only include the actual characters we need.
ποΈ Svg
Using the default inline
ποΈ Spreadsheets
Introduction
ποΈ Data binding
Data bind is a util in the @mediamonks/temple to bind a object data to html. In your index.html or index.hbs, you can easely bind js object to html elements with dataBind.
ποΈ Create banners with parameters
Another way to create banners is using the command line with parameters. It is possible to create multiple banners using the --units parameter and is possible to define the --type of the units.
ποΈ Dynamic Import
Dynamic import() introduces a new function-like form of import that caters to those use cases. import(moduleSpecifier) returns a promise for the module namespace object of the requested module, which is created after fetching, instantiating, and evaluating all of the moduleβs dependencies, as well as the module itself.
ποΈ Extends Animation
Sometimes it may happen that we need to modify the animation of a certain frame, but we don't want to add conditionals or duplicate the main Animation.js only to change a few lines. For those cases it is recommended to create a child Animation.js.
ποΈ Gsap
Using events
ποΈ Multiple Timelines
It is posible to create multiple Timelines to be able to control them though banner.js.
ποΈ Ads Recorder
The Display Ads Recorder is a command line tool meant to record display ads and output these to separate formats, like
ποΈ Dynamic Creative Optimization
About building dynamic creatives:
ποΈ Custom globs for npm dev/build
Creating custom dynamic globs for your npm run dev or -build commands can be very convenient.
ποΈ Automatically optimize zips
You can now let the dev-server try to optimize your bundle .zip to try and fit it within the specs.
ποΈ Clean output template
This version of the framework creates an output that excludes the browser-compatible Babel implementation. With IE 11 being deprecated, this has become an option for us to use in some cases.
ποΈ Timeline Scrubber
Previously, we had to use the GSDevTools bonus plugin of GreenSock to get a timeline scrubber so you would be able to scroll through your gsap timeline.