sp-dev-fx-webparts/samples/angular-ngofficeuifabric-todo
Waldek Mastykarz 5ac8c9f86e Updated Angular sample version number & readme (#8) 2016-09-09 17:30:16 +02:00
..
.vscode Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
assets Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
config Updated angular todo sample to SPFx v0.2.0 (#7) 2016-09-09 17:19:02 +02:00
src Updated Angular sample version number & readme (#8) 2016-09-09 17:30:16 +02:00
typings Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
.editorconfig Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
.gitattributes Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
.gitignore Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
.npmignore Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
README.md Updated Angular sample version number & readme (#8) 2016-09-09 17:30:16 +02:00
angular-ngofficeuifabric-todo.njsproj Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
gulpfile.js Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
package.json Updated Angular sample version number & readme (#8) 2016-09-09 17:30:16 +02:00
tsconfig.json Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00
tsd.json Updated sample to new structure. Updates on the repo readme with resource links. 2016-08-31 17:14:32 +03:00

README.md

Angular & ngOfficeUIFabric Client-Side Web Part

Summary

Sample Web Part illustrating using Angular and ngOfficeUIFabric with the SharePoint Framework. You can find a video recording walk-through this sample from SharePoint PnP YouTube channel.

Sample To do SharePoint Framework Client-Side Web Part built using Angular and ngOfficeUIFabric

Applies to

Solution

Solution Author(s)
angular-ngofficeuifabric-todo Waldek Mastykarz (MVP, Rencore, @waldekm)

Version history

Version Date Comments
1.1 September 9, 2016 Updated sample to SPFx v0.2.0 and changed to loading Angular and ngOfficeUIFabric from CDN
1.0 August 29, 2016 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • clone this repo
  • in the command line run:
    • npm i
    • tsd install
    • gulp serve

Features

The To do Web Part is a sample Client-Side Web Part built on the SharePoint Framework built using Angular and ngOfficeUIFabric.

This Web Part illustrates the following concepts on top of the SharePoint Framework:

  • using Angular v1.x with TypeScript for building SharePoint Framework Client-Side Web Parts
  • using ngOfficeUIFabric for styling Angular v1.x Client-Side Web Parts
  • including Angular and ngOfficeUIFabric in the Web Part bundle
  • using a newer version of Office UI Fabric for styling Client-Side Web Parts
  • loading CSS stylesheets from CDN
  • using non-reactive Web Part Property Pane
  • using conditional rendering for one-time Web Part setup
  • passing Web Part configuration to Angular and reacting to configuration changes