-
Notifications
You must be signed in to change notification settings - Fork 9
IPSA Directive
Dain Brademan edited this page Mar 22, 2019
·
6 revisions
The spectrum renderer used in IPSA has been configured to be used as an AngularJS directive. Angular directives, read more here, allows a developer to extend Angular JavaScript functionality into HTML tags. In other words, you can integrate IPSA's interactive spectrum renderer into a custom website with a few easy steps.
First, the following files need to be included in your web page.
-
Javascript files
Angular.js
Angular v1.6.5d3.vs.min.js
D3 version 3 codebased3-ease.v1.min.js
D3 transitionsd3-tip.js
Tooltip behaviorIPSA.js
Spectrum Renderer -
CSS files
PeptideAnnotator.css
IPSA's custom stylingInconsolata.css
Style sheet for Inconsolata fontOpen+Sans.css
Style sheet for Open Sans fontMontserrat.css
Style sheet for Montserrat font