six-portfolios-manager
v1.0.1
Published
A component that provides support for the /portfolios API to widgets
Downloads
14
Readme
Provides support for portfolio management to widgets
- Must be initialized before any widgets on page
Usage
NPM
# npm install six-portfolio-manager
import PortfolioManager from 'six-portfolios-manager'
// initialize with session from SDK and an userId
PortfolioManager(session,{userId: '1884C0B8-C22A-4B7A-9DB3-A9AB4F8A45B6'})
CDN
<script type="text/javascript" src="https://cdn.six.se/js/six-portfolio-manager/0/six-portfolio-manager.min.js" />
// initialize with session from SDK and an userId
Six.Components.PortfolioManager(session,{userId: '1884C0B8-C22A-4B7A-9DB3-A9AB4F8A45B6'})