简体   繁体   中英

How to disable a YUI MenuBarItem from markup

I prefer creating my nav menus from markup (rather than Javascript), like in this example . Is it possible to create menus and/or menu items from markup which are disabled? I see how to use Javascript to do this (use the disabled config property ), but I'm looking for some way to encode this information in markup - perhaps there's a CSS class to use? Or am I out of luck here?

Sorry, it was bugged but shot down.

http://yuilibrary.com/projects/yui2/ticket/2527643

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM