for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Formularium\Frontend\HTML\Element;
use Formularium\Element;
use Formularium\HTMLNode;
use Formularium\Metadata;
use Formularium\MetadataParameter;
use Formularium\Frontend\HTML\Framework;
class Spinner extends Element
{
public function render(array $parameters, HTMLNode $previous): HTMLNode
return HTMLNode::factory(
'b-loading',
[
'v-model' => 'isLoading',
':is-full-page' => "false"
]
);
}
public static function getMetadata(): Metadata
return new Metadata(
'Spinner',
'Creates a spinner',