com.vaadin.polymer.vaadin.VaadinInfiniteScrollerElement Maven / Gradle / Ivy
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from vaadin-date-picker project by Vaadin Ltd
* that is licensed with Apache-2.0 license.
*/
package com.vaadin.polymer.vaadin;
import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
/**
*
*/
@JsType(isNative=true)
public interface VaadinInfiniteScrollerElement extends HTMLElement {
@JsOverlay public static final String TAG = "vaadin-infinite-scroller";
@JsOverlay public static final String SRC = "vaadin-date-picker/vaadin-date-picker.html";
/**
*
*
* JavaScript Info:
* @property active
* @type boolean
*
*/
@JsProperty boolean getActive();
/**
*
*
* JavaScript Info:
* @property active
* @type boolean
*
*/
@JsProperty void setActive(boolean value);
/**
* Count of individual items in each buffer.
The scroller has 2 buffers altogether so bufferSize of 20
will result in 40 buffered DOM items in total.
Changing after initialization not supported.
*
* JavaScript Info:
* @property bufferSize
* @type Number
*
*/
@JsProperty double getBufferSize();
/**
* Count of individual items in each buffer.
The scroller has 2 buffers altogether so bufferSize of 20
will result in 40 buffered DOM items in total.
Changing after initialization not supported.
*
* JavaScript Info:
* @property bufferSize
* @type Number
*
*/
@JsProperty void setBufferSize(double value);
/**
* Height of individual items (in pixels).
Changing after initialization not supported.
*
* JavaScript Info:
* @property itemHeight
* @type Number
*
*/
@JsProperty double getItemHeight();
/**
* Height of individual items (in pixels).
Changing after initialization not supported.
*
* JavaScript Info:
* @property itemHeight
* @type Number
*
*/
@JsProperty void setItemHeight(double value);
/**
* Current scroller position as index. Can be a fractional number.
*
* JavaScript Info:
* @property position
* @type Number
*
*/
@JsProperty double getPosition();
/**
* Current scroller position as index. Can be a fractional number.
*
* JavaScript Info:
* @property position
* @type Number
*
*/
@JsProperty void setPosition(double value);
/**
*
*
* JavaScript Info:
* @method modelForElement
* @param {} el
* @behavior VaadinInfiniteScroller
*
*/
void modelForElement(Object el);
/**
*
*
* JavaScript Info:
* @method stamp
* @param {} model
* @behavior VaadinInfiniteScroller
*
*/
void stamp(Object model);
/**
*
*
* JavaScript Info:
* @method templatize
* @param {} template
* @behavior VaadinInfiniteScroller
*
*/
void templatize(Object template);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy