Skip to content

Commit 8b21655

Browse files
committed
v1.1.0 release
1 parent 6601e73 commit 8b21655

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Examples/liveage.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
/**
6+
* This file is part of the EaseHtmlWidgets package
7+
*
8+
* https://github.com/VitexSoftware/php-vitexsoftware-ease-html-widgets
9+
*
10+
* (c) Vítězslav Dvořák <http://vitexsoftware.com>
11+
*
12+
* For the full copyright and license information, please view the LICENSE
13+
* file that was distributed with this source code.
14+
*/
15+
16+
require_once '../vendor/autoload.php';
17+
18+
$oPage = new \Ease\WebPage();
19+
20+
$oPage->addItem(new \Ease\Html\Widgets\Toggle('tog1', 'a'));
21+
$oPage->addItem(new \Ease\Html\Widgets\ToggleRounded('tog2', 'b'));
22+
23+
echo $oPage;

0 commit comments

Comments
 (0)