This library contains native Angular 2 components and directives written from scratch in TypeScript using the Lightning Design System CSS framework.
We are looking for community help to find and fix bugs, improve demo site and create new components.
Install through npm
:
npm install --save ng-lightning
If you use SystemJS to load your files, you should adjust your configuration to point our UMD bundle through unpkg
map: {
...
'ng-lightning/ng-lightning': 'https://unpkg.com/ng-lightning@x.x.x/bundles/ng-lightning.umd.js'
}
Unfortunately, IE11 does not support two important features.
-
SVG External Content, used to load SVG icons from a spritemap. In order to support this, you will need to use a small script called svg4everybody.
Available on npm cdn here. -
Element.classList
on SVG elements, used by Angular'srenderer.setElementClass
. See here for more information. Use classList.js shim, available on npm cdn here.
Typically, these shims should be placed within the <head>
element.
http://ng-lightning.github.io/ng-lightning/
We are always looking for high quality contributions! Please check the CONTRIBUTING.md doc for guidelines.
Development is supported by ZuluTrade.
We support the same browsers and versions supported by both Angular 2 and Salesforce's Lightning Design System.
Cross browser/environment testing is performed through Saucelabs.