Skip to content

Commit

Permalink
docs: add JSDoc for attributes [skip ci] (#729) (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Jul 20, 2020
1 parent fb9d018 commit 3a1ca6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/vaadin-date-picker-light.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
/**
* Name of the two-way data-bindable property representing the
* value of the custom input field.
* @attr {string} attr-for-value
* @type {string}
*/
attrForValue: {
Expand Down
3 changes: 3 additions & 0 deletions src/vaadin-date-picker-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
* Date which should be visible when there is no value selected.
*
* The same date formats as for the `value` property are supported.
* @attr {string} initial-position
*/
initialPosition: String,

Expand All @@ -91,13 +92,15 @@

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

/**
* Set true to display ISO-8601 week numbers in the calendar. Notice that
* displaying week numbers is only supported when `i18n.firstDayOfWeek`
* is 1 (Monday).
* @attr {boolean} show-week-numbers
*/
showWeekNumbers: {
type: Boolean
Expand Down
3 changes: 3 additions & 0 deletions src/vaadin-date-picker.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@
return {
/**
* Set to true to display the clear icon which clears the input.
* @attr {boolean} clear-button-visible
* @type {boolean}
*/
clearButtonVisible: {
Expand All @@ -213,6 +214,7 @@

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

Expand All @@ -223,6 +225,7 @@

/**
* String used for the helper text.
* @attr {string} helper-text
*/
helperText: {
type: String,
Expand Down

0 comments on commit 3a1ca6c

Please sign in to comment.