wibox.widget.textclock: Update the property documentation.

This commit is contained in:
Emmanuel Lepage Vallee 2022-08-21 23:02:27 -07:00
parent 1eda8cdf93
commit a18b40e12b
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ end
-- --
-- @property refresh -- @property refresh
-- @tparam[opt=60] number refresh How often the clock is updated, in seconds -- @tparam[opt=60] number refresh How often the clock is updated, in seconds
-- @propertyunit second
-- @negativeallowed false
function textclock:set_refresh(refresh) function textclock:set_refresh(refresh)
self._private.refresh = refresh or self._private.refresh self._private.refresh = refresh or self._private.refresh