npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ng-office-ui-fabric

v0.16.1

Published

Angular directives for Microsoft's Office UI Fabric.

Downloads

168

Readme

MIT license npm version bower version NuGet version

This repo is for the distribution of the ngOfficeUiFabric on npm and bower. The source for this module is in the main ngOfficeUiFabric repo. Please submit issues and pull requests against that repo.

June 2018 - Now in Archive Mode

As of June 2018, this project is now in archive mode. This means there are is no planned work / updates for this project going forward. This project was 100% run and maintained by the community. As most of the world has moved on from AngularJS (v1.x) to Angular (v6) at the time of this update, we have decided to archive this project. There will be no more updates.

At this time there are no updates planned on supporting Angular 6.

Installing ngOfficeUiFabric

You can install this package locally either with npm, bower or NuGet.

npm

# To install latest stable release
npm install ng-office-ui-fabric

# To install latest stable release and update package.json
npm install ng-office-ui-fabric --save

# To install from HEAD of master
npm install https://github.com/ngofficeuifabric/package-ngofficeuifabric/tarball/master

bower

# To get the latest stable version, use bower from the command line.
bower install ng-office-ui-fabric

# To get the most recent, last committed-to-master version use:
bower install ng-office-ui-fabric#master

# To save the bower settings for future use:
bower install ng-office-ui-fabric --save

NuGet

# To get the latest stable version, use NPM from the Package Manager Console or
#   the NuGet Package Manager wizard in Visual Studio
Install-Package ng-office-ui-fabric

Please note that ngOfficeUiFabric requires AngularJS 1.6.5 or higher & Office UI Fabric 2.6.3.

CDN

Hosting facilitated by CDNJS, a community driven CDN. Get a link to the desired version of ngOfficeUiFabric from here: https://cdnjs.com/libraries/ngOfficeUiFabric:

Using the ngOfficeUiFabric Library

Now that you have installed the ngOfficeUiFabric libraries, simply include the scripts and stylesheet in your main HTML file, in the order shown in the example below. Note that npm will install the files under /node_modules/ng-office-ui-fabric/ and bower will install them under /bower_components/ng-office-ui-fabric/.

npm

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
  <!-- add Office UI Fabric stylesheets (there are minified options too) -->
  <link rel="stylesheet" href="/node_modules/office-ui-fabric/fabric.css">
  <link rel="stylesheet" href="/node_modules/office-ui-fabric/fabric.components.css">
</head>
<body ng-app="YourApp">

  <div ng-controller="YourController">
    ..
  </div>

  <!-- add angular & ngOfficeUiFabric (there are minified options too) -->
  <script src="/node_modules/angular/angular.js"></script>
  <script src="/node_modules/ng-office-ui-fabric/ngOfficeUiFabric.js"></script>
  <script type="text/javascript"> 
    // Include app dependency on ngOfficeUIFabric
    angular.module('YourApp', [
        'officeuifabric.core',
        'officeuifabric.components'
      ])
      .controller('YourController', YourController);

  </script>

</body>
</html>

bower

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
  <!-- add Office UI Fabric stylesheets (there are minified options too) -->
  <link rel="stylesheet" href="/bower_components/office-ui-fabric/fabric.css">
  <link rel="stylesheet" href="/bower_components/office-ui-fabric/fabric.components.css">
</head>
<body ng-app="YourApp">

  <div ng-controller="YourController">
    ..
  </div>

  <!-- add angular & ngOfficeUiFabric (there are minified options too) -->
  <script src="/bower_components/angular/angular.js"></script>
  <script src="/bower_components/ng-office-ui-fabric/ngOfficeUiFabric.js"></script>
  <script type="text/javascript">
    // Include app dependency on ngOfficeUIFabric
    angular.module('YourApp', [
        'officeuifabric.core',
        'officeuifabric.components'
      ])
      .controller('YourController', YourController);

  </script>

</body>
</html>

NuGet

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
  <!-- add Office UI Fabric stylesheets (there are minified options too) -->
  <link rel="stylesheet" href="/content/fabric.css">
  <link rel="stylesheet" href="/content/fabric.components.css">
</head>
<body ng-app="YourApp">

  <div ng-controller="YourController">
    ..
  </div>

  <!-- add angular & ngOfficeUiFabric (there are minified options too) -->
  <script src="/scripts/angular.js"></script>
  <script src="/scripts/ngOfficeUiFabric.js"></script>
  <script type="text/javascript">
    // Include app dependency on ngOfficeUIFabric
    angular.module('YourApp', [
        'officeuifabric.core',
        'officeuifabric.components'
      ])
      .controller('YourController', YourController);

  </script>

</body>
</html>