EasyUI Forum
October 10, 2024, 10:23:12 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: What dependencies when using easyloader and ribbon extensions  (Read 3756 times)
WizPS
Jr. Member
**
Posts: 67


View Profile
« on: January 18, 2020, 07:24:02 PM »

Hi, I use ribbon extension and easyloader. Now I can't find what dependencies to set?
Code:
$.extend(easyloader.modules, {
ribbon: {
js: '../ribbon/jquery.ribbon.js'
, dependencies: [???]
}
});
Thanks for advice!
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 20, 2020, 07:15:26 PM »

Please refer to this code.
Code:
$.extend(easyloader.modules, {
ribbon: {
js: 'https://www.jeasyui.com/easyui/ribbon/jquery.ribbon.js',
css: 'https://www.jeasyui.com/easyui/ribbon/ribbon.css',
dependencies: ['linkbutton','tabs','menubutton','splitbutton']
}
})
Logged
WizPS
Jr. Member
**
Posts: 67


View Profile
« Reply #2 on: January 21, 2020, 02:28:24 AM »

Perfect, thanx!
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!