Search found 233 matches

by olton
Wed Sep 18, 2019 7:38 pm
Forum: Components
Topic: How to listen to tiles event top, left right or bottom click?
Replies: 3
Views: 97

Re: How to listen to tiles event top, left right or bottom click?

you can define event attribute data-on-click or subscribe to it event <div data-role="tile" data-on-click="tileClick"> ... </div> <script> function tileClick(side){ console.log(this); //tile console.log(side); // left, right, top, bottom } </script> or <div data-role="tile"> </div> <script> $("[clas...
by olton
Sun Sep 15, 2019 8:41 pm
Forum: General issues
Topic: Search Text Box in Table
Replies: 1
Views: 61

Re: Search Text Box in Table

show your table code
by olton
Sun Sep 15, 2019 8:39 pm
Forum: Components
Topic: TreeView Events
Replies: 4
Views: 36

Re: TreeView Events

Code: Select all

<ul data-role="treeview" data-on-node-click="nodeClick" data-on-check-click="checkClick">
    <li>...</li>
</ul>

<script>
function nodeClick(node){
...
}

function checkClick(checked, check, node){
...
}
</script>

by olton
Tue Sep 03, 2019 9:42 am
Forum: General issues
Topic: Bug within 4.2.x ?
Replies: 2
Views: 122

Re: Bug within 4.2.x ?

Fixed in 4.2.49
by olton
Mon Sep 02, 2019 6:42 pm
Forum: General issues
Topic: Bug within 4.2.x ?
Replies: 2
Views: 122

Re: Bug within 4.2.x ?

Thank you
by olton
Sun Sep 01, 2019 1:58 pm
Forum: General issues
Topic: Spinner и Java Script
Replies: 3
Views: 82

Re: Spinner и Java Script

Create your code example on codepen.io or sendbox.org.ua
by olton
Tue Aug 27, 2019 4:00 pm
Forum: Components
Topic: How to listen to tiles event top, left right or bottom click?
Replies: 3
Views: 97

Re: How to listen to tiles event top, left right or bottom click?

I am currently working on metro 4 for react, and therefore do not make changes to metro 4 unless this is a bug fix. You can leave issue on the github project page and I will probably add this extension later
by olton
Mon Aug 12, 2019 4:27 pm
Forum: General issues
Topic: Add custom function to Validator
Replies: 1
Views: 117

Re: Add custom function to Validator

https://metroui.org.ua/validator.html
Example available in the guide.
by olton
Thu Aug 08, 2019 11:59 am
Forum: General issues
Topic: Открытие InfoBox по ссылке?
Replies: 1
Views: 113

Re: Открытие InfoBox по ссылке?

Здравствуйте. Можно, но это выходит за пределы библиотеки. Анализируйте хеш урл адреса и используйте метод создания infobox в рантайм https://metroui.org.ua/info-box.html#_i ... te_runtime