Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
update(list): improve docs for md-list-item
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBurleson committed Apr 9, 2015
1 parent a7d9fa3 commit f801b68
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/list/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ angular.module('material.components.list', [
'material.core'
])
.directive('mdList', mdListDirective)
.directive('mdListItem', mdItemDirective);
.directive('mdListItem', mdListItemDirective);

/**
* @ngdoc directive
Expand Down Expand Up @@ -49,25 +49,25 @@ function mdListDirective($mdTheming) {

/**
* @ngdoc directive
* @name mdItem
* @name mdListItem
* @module material.components.list
*
* @restrict E
*
* @description
* The `<md-item>` directive is a container intended for row items in a `<md-list>` container.
* The `<md-list-item>` directive is a container intended for row items in a `<md-list>` container.
*
* @usage
* <hljs lang="html">
* <md-list>
* <md-item>
* <md-list-item>
* Item content in list
* </md-item>
* </md-list-item>
* </md-list>
* </hljs>
*
*/
function mdItemDirective($document, $log, $mdUtil, $mdAria) {
function mdListItemDirective($mdAria) {
var proxiedTypes = ['md-checkbox', 'md-switch'];
return {
restrict: 'E',
Expand Down

0 comments on commit f801b68

Please sign in to comment.