Search found 174 matches

by olton
Sat Sep 15, 2018 10:52 pm
Forum: General issues
Topic: Text wrap in select tags
Replies: 8
Views: 669

Re: Text wrap in select tags

Create pen on codepen.io with your code
by olton
Sat Sep 15, 2018 10:10 pm
Forum: General issues
Topic: Text wrap in select tags
Replies: 8
Views: 669

Re: Text wrap in select tags

https://metroui.org.ua/select.html

You can create your own class for option and use with attribute data-cls-option

See Customize part for select
by olton
Thu Sep 13, 2018 12:03 pm
Forum: Metro 4 Builder
Topic: Welcome to Metro 4 Builder
Replies: 0
Views: 902

Welcome to Metro 4 Builder

Now you can create your one Metro 4 components set with Metro 4 Builder. https://builder.metroui.org.ua This is an alpha version. There is a phase of testing and detection of dependencies. If you have assembled the assembly and it does not work, write the post to this forum. PLease add to your post ...
by olton
Tue Sep 11, 2018 12:53 am
Forum: General issues
Topic: Table Hidden class
Replies: 2
Views: 407

Re: Table Hidden class

Thx, I fix it in 4.2.22
by olton
Tue Sep 04, 2018 9:34 pm
Forum: General issues
Topic: documentation color target wrong?
Replies: 1
Views: 337

Re: documentation color target wrong?

Thank you, I fix it in 4.2.21
by olton
Thu Aug 30, 2018 5:59 pm
Forum: General issues
Topic: Custom Tile Size
Replies: 3
Views: 509

Re: Custom Tile Size

You must create your own styles
by olton
Wed Aug 29, 2018 9:01 pm
Forum: General issues
Topic: TreeView and events
Replies: 3
Views: 496

Re: TreeView and events

You can use the parameters that are passed to the function:

Code: Select all

<ul data-role="treeview" id="folderBrowseList" data-on-node-click="nodeClick">
...
</ul>

<script>
  function nodeClick(node, treeview){
      console.log(node);
  }
</script>
by olton
Wed Aug 29, 2018 6:51 pm
Forum: General issues
Topic: TreeView and events
Replies: 3
Views: 496

Re: TreeView and events

<ul data-role="treeview" id="folderBrowseList" data-on-node-click="alert('node clicked')"> ... </ul> or <ul data-role="treeview" id="folderBrowseList" data-on-node-click="nodeClick"> ... </ul> <script> function nodeClick(){ alert('node clicked'); } </script> Events system in Metro 4 Components Libr...
by olton
Wed Aug 29, 2018 8:53 am
Forum: General issues
Topic: listview and getSelected() - get selected nodes
Replies: 1
Views: 444

Re: listview and getSelected() - get selected nodes

GetSelected return checked nodes. Selected mode enable with attribute data-selected="true"