Skip to content

Commit

Permalink
docs: add JSDoc for attributes [skip ci] (#155) (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Jul 20, 2020
1 parent 3fea1cb commit dfe2b86
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vaadin-time-picker.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@

/**
* Set to true to prevent the user from entering invalid input.
* @attr {boolean} prevent-invalid-input
*/
preventInvalidInput: {
type: Boolean
Expand All @@ -204,13 +205,15 @@

/**
* The error message to display when the input is invalid.
* @attr {string} error-message
*/
errorMessage: {
type: String
},

/**
* String used for the helper text.
* @attr {string} helper-text
*/
helperText: {
type: String,
Expand Down Expand Up @@ -297,6 +300,7 @@

/**
* Set to true to display the clear icon which clears the input.
* @attr {boolean} clear-button-visible
* @type {boolean}
*/
clearButtonVisible: {
Expand All @@ -306,6 +310,7 @@

/**
* Set true to prevent the overlay from opening automatically.
* @attr {boolean} auto-open-disabled
*/
autoOpenDisabled: Boolean,

Expand Down

0 comments on commit dfe2b86

Please sign in to comment.