1
2
3
4
<button class="HelloWorld" type="button">
    Push me
</button>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
public function Init()
{
    return $this
    ->FocusBody()
    ->FocusChildren( 'HelloWorld' )
    ->Event
    (
        'Test', /* Controller */
        'HelloWorld', /* Method */
        $this->Clone()->ReadPos()
    );
}


public function HelloWorld
(
    int $AX=0,
    int $AY=0
)
{
    return $this
    ->WinPopup( $AX, $AY )
    ->DOMTemplate( 'HelloWorld.html' );
}

1
2
3
4
/*
    Without JS.
*/

telegram
Developed on Catlair 2021 itserv.ru