wibox.widget.textclock: Update the property documentation.
This commit is contained in:
parent
1eda8cdf93
commit
a18b40e12b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue