Lines Matching refs:name
48 execute: function(action, name, callback) { argument
50 if(typeof name === 'function') {
51 callback = name;
52 name = 'sidr';
54 else if(!name) {
55 name = 'sidr';
59 var $menu = $('#' + name),
71 bodyClass = (name === 'sidr' ? 'sidr-open' : 'sidr-open ' + name + '-open');
83 methods.open(name);
124 sidrOpened = name;
127 callback(name);
169 callback(name);
182 open: function(name, callback) { argument
183 privateMethods.execute('open', name, callback);
185 close: function(name, callback) { argument
186 privateMethods.execute('close', name, callback);
188 toggle: function(name, callback) { argument
189 privateMethods.execute('toggle', name, callback);
192 toogle: function(name, callback) { argument
193 privateMethods.execute('toggle', name, callback);
214 name : 'sidr', // Name for the 'sidr'
225 var name = settings.name,
226 $sideMenu = $('#' + name);
231 .attr('id', name)
250 var newContent = settings.source(name);
288 $this.data('sidr', name);
298 methods.toggle(name);
305 methods.toggle(name);
317 name: 'm1-menu-left',
323 name: 'm1-menu-right',