Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<link href="vendor/@angular2-material/core/overlay/overlay.css" rel="stylesheet">
```

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
Expand Down
6 changes: 6 additions & 0 deletions src/components/menu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<link href="vendor/@angular2-material/core/overlay/overlay.css" rel="stylesheet">
```

### Simple menu

In your template, create an `md-menu` element. You can use either `<button>` or `<anchor>` tags for
Expand Down
8 changes: 8 additions & 0 deletions src/components/tooltip/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# MdTooltip
Tooltip allows the user to specify text to be displayed when the mouse hover over an element.

### Setup
For alpha.7, you need to include the overlay styles in your app via a `link` element. This will
look something like
```html
<link href="vendor/@angular2-material/core/overlay/overlay.css" rel="stylesheet">
```


### Examples
A button with a tooltip
```html
Expand Down