Home | History | Annotate | Download | only in js

Lines Matching refs:Options

552  *  Options:
569 //Options - see above
750 * Options:
765 //Options - see above
1329 $.fn.resourceWidget = function(resources, options) {
1331 initResourceWidget(this, resources, options);
1444 configured options. Returns a jquery object containing the element.
1499 $widget.data('options.resourceflow', opts);
1592 /* A decorator for event functions which finds the surrounding widget and it's options */
1598 var opts = $widget.data('options.resourceflow');
2318 * @param {Object} options
2321 function Filter(el, options) {
2323 this.options = $.extend({}, Filter.DEFAULTS_, options);
2350 that.containerEl_.resourceWidget(resources, that.data_.options);
2357 this.containerEl_ = $(this.options.filter);
2362 this.data_.options = this.containerEl_.widgetOptions();
2363 this.data_.all = window.metadata.query(this.data_.options);
2389 var tab = item.parent().data(this.options.tabViewDataAttr);
2390 var countEl = this.countEl_.filter('[data-' + this.options.countDataAttr + '="' + tab + '"]');
2410 var initiallyCheckedValues = this.data_.options.query.replace(/,\s*/g, '+').split('+');
2439 this.chipsEl_ = this.el.find('[data-' + this.options.chipsDataAttr + ']');
2440 this.countEl_ = this.el.find('[data-' + this.options.countDataAttr + ']');
2441 this.tabViewEl_ = this.el.find('[data-' + this.options.tabViewDataAttr + ']');
2442 this.items_ = this.el.find('[data-' + this.options.nameDataAttr + ']');
2584 * @param options
2587 function FloatingLabel(el, options) {
2589 this.options = $.extend({}, FloatingLabel.DEFAULTS_, options);
2619 * @param {object} options - Override default options.
2621 $.fn.dacFloatingLabel = function(options) {
2623 new FloatingLabel(this, options);
2639 * @param {Object} options
2642 function Crumbs(selected, options) {
2643 this.options = $.extend({}, Crumbs.DEFAULTS_, options);
2644 this.el = $(this.options.container);
2695 $.fn.dacCrumbs = function(options) {
2697 new Crumbs(this, options);
2707 * @param {Object} options
2710 function SearchInput(el, options) {
2712 this.options = $.extend({}, SearchInput.DEFAULTS_, options);
2715 this.close = this.el.find(this.options.closeButton);
2716 this.clear = this.el.find(this.options.clearButton);
2717 this.icon = this.el.find('.' + this.options.iconClass);
2742 this.clear.addClass(this.options.hiddenClass);
2743 this.body.addClass(this.options.searchModeClass);
2748 that.icon.addClass(that.options.activeIconClass);
2749 }, this.options.transitionDuration);
2758 this.icon.removeClass(this.options.activeIconClass);
2759 this.clear.addClass(this.options.hiddenClass);
2760 this.body.removeClass(this.options.searchModeClass);
2766 this.clear.addClass(this.options.hiddenClass);
2771 this.clear.removeClass(this.options.hiddenClass);
2773 this.clear.addClass(this.options.hiddenClass);
2779 * @param {object} options - Override default options.
2838 * @param {object} options
2841 function DacCarousel(el, options) {
2843 this.options = options = $.extend({}, DacCarousel.OPTIONS, this.el.data(), options || {});
2844 this.frames = this.el.find(options.frameSelector);
2846 this.current = options.start;
2853 DacCarousel.OPTIONS = {
2868 if (!this.options.pagination) { return; }
2872 if (typeof this.options.pagination === 'string') { parent = this.el.find(this.options.pagination); }
2877 if (i === this.options.start) { li.addClass('active'); }
2905 $(this.options.btnPrev).click(function(e) {
2910 $(this.options.btnNext).click(function(e) {
2924 var shouldSwipe = (deltaY < Math.abs(deltaX)) && (Math.abs(deltaX) >= this.options.swipeThreshold);
2941 this.frames.removeClass('active').eq(this.options.start).addClass('active');
2945 if (!this.options.auto || this.rotateTimer) { return; }
2946 this.rotateTimer = setTimeout(this.next.bind(this), this.options.autoTime);
3881 function Modal(el, options) {
3883 this.options = $.extend({}, options);
3921 var options = toggle.data();
3922 var modal = options.modalToggle ? $('[data-modal="' + options.modalToggle + '"]') :
3929 * @param {object} options - Override default options.
3931 $.fn.dacModal = function(options) {
3933 new Modal(this, options);
3937 $.fn.dacToggleModal = function(options) {
3939 new ToggleModal(this, options);
4487 * @param {Object} options
4490 function ToggleNav(el, options) {
4492 this.options = $.extend({}, ToggleNav.DEFAULTS_, options);
4494 this.navigation_ = this.body.find(this.options.navigation);
4535 var animatingClass = this.options.animatingClass;
4539 body.toggleClass(this.options.activeClass);
4546 localStorage.setItem('navigation-open', body.hasClass(this.options.activeClass));
4552 * @param {object} options - Override default options.
4630 * @param {object} options - Override default options.
4632 $.fn.dacNewsletterForm = function(options) {
4634 new NewsletterForm(this, options);
5261 * @param options
5264 function ScrollButton(el, options) {
5267 this.options = $.extend({}, ScrollButton.DEFAULTS_, options);
5269 if (typeof this.options.offset === 'string') {
5270 this.options.offset = $(this.options.offset).height();
5277 * Default options
5301 $(this.options.scrollContainer).animate({
5302 scrollTop: position - this.options.offset
5303 }, this.options);
5307 if (this.options.scrollContainer === ScrollButton.DEFAULTS_.scrollContainer) {
5310 var scrollContainer = $(this.options.scrollContainer)[0];
5322 * @param {object} options - Override default options.
5324 $.fn.dacScrollButton = function(options) {
5326 new ScrollButton(this, options);
5948 * @param options
5951 function SwapContent(el, options) {
5953 this.options = $.extend({}, SwapContent.DEFAULTS_, options);
5954 this.options.dynamic = this.options.dynamic === 'true';
5955 this.containers = this.el.find(this.options.container);
5956 this.initiallyActive = this.containers.children('.' + this.options.activeClass).eq(0);
5959 this.el.find(this.options.swapButton).on('click', this.swap.bind(this));
5981 return container.children('.' + this.options.activeClass).outerHeight();
5989 this.containers.children().toggleClass(this.options.activeClass);
6008 if (!this.options.dynamic) {
6009 container.children().toggleClass(this.options.activeClass);
6014 container.height(this.currentHeight(container)).children().toggleClass(this.options.activeClass);
6015 container.animate({height: this.currentHeight(container)}, this.options.transitionSpeed,
6022 * @param {object} options - Override default options.
6024 $.fn.dacSwapContent = function(options) {
6026 new SwapContent(this, options);
6046 * @param {Object} options
6049 function Tabs(el, options) {
6051 this.options = $.extend({}, Tabs.DEFAULTS_, options);
6062 var itemDataAttribute = '[data-' + this.options.itemDataAttr + ']';
6064 this.tabViewEl_ = this.el.find('[data-' + this.options.viewDataAttr + ']');
6072 if (current.hasClass(this.options.activeClass)) {
6073 current.add(this.tabViewEl_.eq(index)).removeClass(this.options.activeClass);
6075 this.tabEl_.add(this.tabViewEl_).removeClass(this.options.activeClass);
6076 current.add(this.tabViewEl_.eq(index)).addClass(this.options.activeClass);
6120 * @param {Object} options
6123 function Toast(el, options) {
6125 this.options = $.extend({}, Toast.DEFAULTS_, options);
6141 this.closeBtnEl = this.closeBtnEl || $('<button class="' + this.options.closeBtnClass + '">' +
6158 this.el.find('.' + this.options.wrapClass).append(this.closeBtn());
6159 this.el.addClass(this.options.visibleClass);
6184 var duration = this.el.index() === 0 ? this.options.closeDuration : 0;
6194 * @param {object} options - Override default options.