<?php
/**
 * @link https://craftcms.com/
 * @copyright Copyright (c) Pixel & Tonic, Inc.
 * @license https://craftcms.github.io/license/
 */

namespace craft\events;

use craft\base\AssetPreviewHandlerInterface;
use craft\elements\Asset;
use yii\base\Event;

/**
 * Asset preview event class.
 *
 * @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
 * @since 3.4.0
 */
class AssetPreviewEvent extends Event
{
    /**
     * @var Asset The asset Element associated with the event.
     */
    public $asset;

    /**
     * An AssetPreview handler
     *
     * @var AssetPreviewHandlerInterface $previewHandler
     */
    public $previewHandler;
}
