# ablocks/2.11.0/includes/blocks/marquee/attributes.php

aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder &amp; Animation Builder, version 2.11.0. 62 lines.

- Page: https://pluginprobe.com/plugins/ablocks/2.11.0/code/includes/blocks/marquee/attributes.php
- Raw: https://pluginprobe.com/plugins/ablocks/2.11.0/raw/includes/blocks/marquee/attributes.php
- Modified: 2025-12-23T11:27:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ablocks/2.11.0/code/includes/blocks/marquee/attributes.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
use ABlocks\Controls\Range;


$attributes = [
	'block_id' => [
		'type' => 'string',
		'default' => '',
	],
	'blockVersion' => [
		'type' => 'number',
		'default' => '',
	],
	'marqueeSlideLength' => [
		'type' => 'number',
		'default' => 0,
	],
	'pauseOnHover' => [
		'type' => 'boolean',
		'default' => true,
	],
	'marqueeDirection' => [
		'type' => 'string',
		'default' => 'left',
	],
	'marqueeSpeed' => [
		'type' => 'number',
		'default' => 10,
	],
	'loop' => [
		'type' => 'boolean',
		'default' => false,
	],
	'enableShadow' => [
		'type' => 'boolean',
		'default' => true,
	],
	'loopCount' => [
		'type' => 'number',
		'default' => 2,
	],

];

$attributes = array_merge(
	$attributes,
	Range::get_attribute([
		'attributeName' => 'gap',
		'attributeObjectKey' => 'value',
		'isResponsive' => true,
		'hasUnit' => false,
		'unitDefaultValue' => 'px',
		'defaultValue' => 12,
	])
);

return array_merge( $attributes, \ABlocks\Classes\BlockGlobal::get_attributes() );

```
