diff --git a/README.md b/README.md index a811c9b..eca87bc 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,13 @@ NOTE: All of these properties will be under the `templateOptions` property as of ###### Default >`undefined` +--- +##### labelClass (string) +>`labelClass` is used to add classes to the label. + +###### Default +>`undefined` + --- ##### labelSrOnly (boolean) >`labelSrOnly` is used to add the sr-only class to a label so it will hide on non-screen-readers diff --git a/src/wrappers/index.js b/src/wrappers/index.js index 7c71ce8..87070f3 100644 --- a/src/wrappers/index.js +++ b/src/wrappers/index.js @@ -9,6 +9,7 @@ export default ngModule => { apiCheck: check => ({ templateOptions: { label: check.string.optional, + labelClass: check.string.optional, required: check.bool.optional, labelSrOnly: check.bool.optional, } diff --git a/src/wrappers/label.html b/src/wrappers/label.html index 7144454..dd0b898 100644 --- a/src/wrappers/label.html +++ b/src/wrappers/label.html @@ -1,5 +1,5 @@