EasyUI Forum
April 28, 2024, 03:55:16 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: buttons: why <link> instead of <button> ?  (Read 8178 times)
korenanzo
Guest
« on: October 29, 2014, 08:00:54 AM »

Hi all,

Just a consideration:

I'd like to know why it has been chosen <link> as base for easyui buttons, instead of the usual button.

I mean, the  <button> offers the chance to easily manage the keyboard events, the focus and event like that.

Using <link> , if you need to manage those events, you should implement them by hand.

Probably I am missing something... ?

RIc

Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 29, 2014, 04:02:49 PM »

You also can choose the <button> to create your linkbutton component.
Code:
<button class="easyui-linkbutton">Button</button>
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!