This is the documentation for an older version of Scroll Viewport. Here you can view the most up-to-date version of the Scroll Viewport documentation.

Year

Methods

Name Type Description
$year.toInteger() Integer

This year as number.

$year.toString() String

This year formatted using a standard format pattern.

$year.toString(pattern) String

This year formatted using the specified format pattern.

Parameter Type Description
pattern String