/CarbonPlayroom

Add the Sage Carbon Library into Seek's Playroom.

Primary LanguageJavaScript

CarbonPlayroom

Add the Sage Carbon Library into Seek's Playroom.

Screenshot 2019-07-26 at 14 21 42

Chrome Extension

Add a link to a carbon component page to see the example in Playroom.

Screenshot 2019-07-26 at 09 38 52

- How to?

Install the extension and navigate to any carbon component (eg. https://carbon.sage.com/components/carousel). You'll be able to see a new link in the top-right corner near the View on Github link. Just click it!

Bookmarklet

Add a bookmarklet in your bookmarks to view the current carbon component example in Playroom.

- Install it

Make a new bookmark in your browser (right-click on the bookmarks bar and click Add Page...)

  • For the "Name" you might put "CarbonPlayroom".
  • Copy the code block below, paste this into the "Location" of a new bookmark.
javascript:try {window.open('https://txusko.github.io/CarbonPlayroom/#?code='+btoa(document.getElementsByClassName('demo-code')[0].innerText).replace(/\+/g, '-').replace(/\//g, '_').replace(/\=+$/, ''));}catch(e) { }void(0);

- How to?

Navigate to any carbon component (eg. https://carbon.sage.com/components/carousel) and click the bookmarklet.