Skip to content

Commit 81215c4

Browse files
Merge pull request #44 from erundle/card
Address issue #42 pfCard ng-docs
2 parents 2277dc8 + d2d3d82 commit 81215c4

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

dist/angular-patternfly.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ angular.module('patternfly.autofocus', []).directive('pfFocused', function ($tim
101101
* @restrict A
102102
* @element ANY
103103
* @param {headTitle=} Title for the card - required
104-
* @param {subtTtle=} Subtitle for the card - optional
104+
* @param {subTitle=} Subtitle for the card - optional
105105
* @param {showTopBorder=} Show Top Border, true shows top border, false (default) hides top border - optional
106106
*
107107
* @description
@@ -111,7 +111,11 @@ angular.module('patternfly.autofocus', []).directive('pfFocused', function ($tim
111111
<example module="patternfly.card">
112112
113113
<file name="index.html">
114-
<div pf-card head-title="My Card Title" sub-title="My card subtitle" show-top-border="true">
114+
<div pf-card head-title="My Card Title" sub-title="My card subtitle">
115+
<button>Click Me</button>
116+
</div>
117+
118+
<div pf-card head-title="Card With Top Border" sub-title="My card subtitle" show-top-border="true">
115119
<button>Click Me</button>
116120
</div>
117121
</file>
@@ -127,8 +131,8 @@ angular.module('patternfly.card').directive('pfCard', function () {
127131
templateUrl: 'card/basic/card.html',
128132
scope: {
129133
headTitle: '@',
130-
subTitle: '@',
131-
showTopBorder: '@'
134+
subTitle: '@?',
135+
showTopBorder: '@?'
132136
}
133137
};
134138
});

0 commit comments

Comments
 (0)