0.1.1 • Published 4 years ago

hash-scripts-loader v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

@abcnews/hash-scripts-loader

Load scripts with a #hash in Core.

Usage

Put something like #interactivescriptsENCODEDldhgjldkjg3lk43nlkjbnsdlkfn if a CoreMedia article. With the encoded string being a base-36-props string.

Use the following pattern.

{"scripts": ["https://path.to.your.com/script.js"]}

Multiple scripts supported.