EXPAND ALL
  • Home

px.seconds

Gets the specified number of seconds.

Arguments

NameTypeDescription
unitintThe number of seconds to render.

Returns

px.Duration: Duration representing unit seconds.

Examples

# Returns 2 seconds.
time = px.seconds(2)

This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.