\Kendo\UI\FloatingActionButtonAlignOffset

A PHP class representing the alignOffset setting of FloatingActionButton.

Methods

x

Specifies the initial horizontal offset of the FloatingActionButton. Numeric values are treated as pixels. String values can specify pixels, percentages, ems, or other valid values.

Returns

\Kendo\UI\FloatingActionButtonAlignOffset

Parameters

$value float|string

Example - using float

<?php
$alignOffset = new \Kendo\UI\FloatingActionButtonAlignOffset();
$alignOffset->x(1);
?>

Example - using string

<?php
$alignOffset = new \Kendo\UI\FloatingActionButtonAlignOffset();
$alignOffset->x('value');
?>

y

Specifies the initial vertical offset of the FloatingActionButton. Numeric values are treated as pixels. String values can specify pixels, percentages, ems or other valid values.

Returns

\Kendo\UI\FloatingActionButtonAlignOffset

Parameters

$value float|string

Example - using float

<?php
$alignOffset = new \Kendo\UI\FloatingActionButtonAlignOffset();
$alignOffset->y(1);
?>

Example - using string

<?php
$alignOffset = new \Kendo\UI\FloatingActionButtonAlignOffset();
$alignOffset->y('value');
?>
In this article
Not finding the help you need?