Lines Matching refs:data

133 				, data = $this.data('alert')
134 if (!data) $this.data('alert', (data = new Alert(this)))
135 if (typeof option == 'string') data[option].call($this)
193 , data = $el.data()
197 data.resetText || $el.data('resetText', $el[val]())
199 $el[val](data[state] || this.options[state])
228 , data = $this.data('button')
230 if (!data) $this.data('button', (data = new Button(this, options)))
231 if (option == 'toggle') data.toggle()
232 else if (option) data.setState(option)
417 , data = $this.data('carousel')
420 if (!data) $this.data('carousel', (data = new Carousel(this, options)))
421 if (typeof option == 'number') data.to(option)
422 else if (action) data[action]()
423 else if (options.interval) data.cycle()
448 , options = $.extend({}, $target.data(), $this.data())
511 hasData = actives.data('collapse')
514 hasData || actives.data('collapse', null)
572 , data = $this.data('collapse')
574 if (!data) $this.data('collapse', (data = new Collapse(this, options)))
575 if (typeof option == 'string') data[option]()
603 , option = $(target).data('collapse') ? 'toggle' : $this.data()
737 , data = $this.data('dropdown')
738 if (!data) $this.data('dropdown', (data = new Dropdown(this)))
739 if (typeof option == 'string') data[option].call($this)
954 , data = $this.data('modal')
955 , options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option)
956 if (!data) $this.data('modal', (data = new Modal(this, options)))
957 if (typeof option == 'string') data[option]()
958 else if (options.show) data.show()
985 …, option = $target.data('modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $targe…
1054 options = $.extend({}, $.fn[this.type].defaults, options, this.$element.data())
1064 var self = $(e.currentTarget)[this.type](this._options).data(this.type)
1074 var self = $(e.currentTarget)[this.type](this._options).data(this.type)
1199 var self = $(e.currentTarget)[this.type](this._options).data(this.type)
1216 , data = $this.data('tooltip')
1218 if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))
1219 if (typeof option == 'string') data[option]()
1317 , data = $this.data('popover')
1319 if (!data) $this.data('popover', (data = new Popover(this, options)))
1320 if (typeof option == 'string') data[option]()
1395 , href = $el.data('target') || $el.attr('href')
1466 , data = $this.data('scrollspy')
1468 if (!data) $this.data('scrollspy', (data = new ScrollSpy(this, options)))
1469 if (typeof option == 'string') data[option]()
1495 $spy.scrollspy($spy.data())
1612 , data = $this.data('tab')
1613 if (!data) $this.data('tab', (data = new Tab(this)))
1614 if (typeof option == 'string') data[option]()
1883 , data = $this.data('typeahead')
1885 if (!data) $this.data('typeahead', (data = new Typeahead(this, options)))
1886 if (typeof option == 'string') data[option]()
1911 if ($this.data('typeahead')) return
1913 $this.typeahead($this.data())
1994 , data = $this.data('affix')
1996 if (!data) $this.data('affix', (data = new Affix(this, options)))
1997 if (typeof option == 'string') data[option]()
2023 , data = $spy.data()
2025 data.offset = data.offset || {}
2027 data.offsetBottom && (data.offset.bottom = data.offsetBottom)
2028 data.offsetTop && (data.offset.top = data.offsetTop)
2030 $spy.affix(data)