actionButtonsAlignmentString
(default: "stretched")
Controls the alignment of the action buttons in the footer. This configuation works only in horizontal mode.
Valid values are "stretched"
, "justify"
, "start"
, "center"
, and "end"
.
Example
<div id="actionsheet"></div>
<script>
var actionsheet = $('#actionsheet').kendoActionSheet({
title: 'Confirmation',
actionButtonsAlignment: "end",
actionButtons: [
{
text: "Confirm",
icon: "check",
fillMode: "solid",
themeColor: "primary",
click: onClick
},
{
text: "Cancel",
icon: "x",
fillMode: "flat",
click: onClick
}
]
}).data('kendoActionSheet');
function onClick(e) {
e.preventDefault();
actionsheet.close();
}
actionsheet.open();
</script>
In this article