mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-17 01:32:22 +02:00
Feature/doc markup (#543)
* Added release notes * #509 fixedOCOD typo * Updated values * Updated comments * Changed stdlib docs format * Changed format of array in docs * Use 'any' instead of 'value' in docs * New format for optional params * Updated docs for testing package * Added namespace information
This commit is contained in:
@ -10,10 +10,13 @@ import (
|
||||
)
|
||||
|
||||
// SCROLL scrolls by given coordinates.
|
||||
// @param doc (HTMLDocument) - HTML document.
|
||||
// @param x (Int|Float) - X coordinate.
|
||||
// @param y (Int|Float) - Y coordinate.
|
||||
// @param options (ScrollOptions) - Scroll options. Optional.
|
||||
// @param {HTMLDocument} document - HTML document.
|
||||
// @param {Int | Float} x - X coordinate.
|
||||
// @param {Int | Float} y - Y coordinate.
|
||||
// @param {Object} [params] - Scroll params.
|
||||
// @param {String} [params.behavior="instant"] - Scroll behavior
|
||||
// @param {String} [params.block="center"] - Scroll vertical alignment.
|
||||
// @param {String} [params.inline="center"] - Scroll horizontal alignment.
|
||||
func ScrollXY(ctx context.Context, args ...core.Value) (core.Value, error) {
|
||||
err := core.ValidateArgs(args, 3, 4)
|
||||
|
||||
|
Reference in New Issue
Block a user