From 61027e9a694393d7170ce0ebeb3ca38f54a40aa0 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Wed, 10 Aug 2016 17:10:38 -0700 Subject: [PATCH] docs(overlay): mention including overlay css (#992) * docs(overlay): mention including overlay css * add to readmes --- GETTING_STARTED.md | 10 ++++++++++ src/components/menu/README.md | 6 ++++++ src/components/tooltip/README.md | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index ff5a12bae9c..d7ec308d47d 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -123,6 +123,16 @@ Import the components in your application module: - [Puppy Love Mobile (Google IO 2016)](https://github.com/kara/puppy-love-io) +### Additional setup for `md-menu` and `md-tooltip`: +For alpha.7, you need to include the overlay styles in your app via a `link` element. This will +look something like +```html + +``` + +In future releases, all of the core styles will be combined into a single distributed css file. + + ### Additional setup for `md-slide-toggle` and `md-slider`: The slide-toggle and slider components have a dependency on [HammerJS](http://hammerjs.github.io/). 1) Add HammerJS to your application via [npm](https://www.npmjs.com/package/hammerjs), a CDN diff --git a/src/components/menu/README.md b/src/components/menu/README.md index 7a0f5153cd3..3ff0b69e410 100644 --- a/src/components/menu/README.md +++ b/src/components/menu/README.md @@ -27,6 +27,12 @@ import {MdMenuModule} from '@angular2-material/menu'; export class MyAppModule {} ``` +For alpha.7, you need to include the overlay styles in your app via a `link` element. This will +look something like +```html + +``` + ### Simple menu In your template, create an `md-menu` element. You can use either `