itorrey / EpiPen

Inject custom JS and CSS into your Axure prototypes. Use Axure Plugins locally.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EpiPen

Inject your own JS, CSS or HTML strings into Axure.

Installation

  1. Clone the repo
  2. Copy or create a symlink of the repo's plugin/EpiPen folder to the plugins folder of your output.
  3. In Axure, load the EpiPen.rplib library.
  4. Drag the EpiPen widget onto your page. Do not change the name of this widget.
  5. Open the widget. In the repeater dataset input your data to be loaded.

Usage

Repeater Dataset Values

type: js / css / html

This is the type of content you'll be injecting

src: js/myScript.js

This is either a relative or absolute URL to your script or css. If your type was HTML, an HTML string is valid here.

target: head / @widgetName

This tells the epi.js script where to insert your content. In most cases you want to specify head however you can also replace the contents of a widget when you set the type to HTML. Just specify the widget ID (with the @ symbol first) and that widget will be replaced with the string passed in the src field.

About

Inject custom JS and CSS into your Axure prototypes. Use Axure Plugins locally.


Languages

Language:JavaScript 90.5%Language:CSS 9.5%