All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.iron.element.IronDocPropertyElement Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from iron-doc-viewer project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.iron.element;

import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.js.JsProperty;
import com.google.gwt.core.client.js.JsType;

/**
 * 

Renders documentation describing a specific property of an element.

*

Give it a hydrolysis PropertyDescriptor (via descriptor), and watch it go!

*/ @JsType public interface IronDocPropertyElement extends HTMLElement { public static final String TAG = "iron-doc-property"; public static final String SRC = "iron-doc-viewer/iron-doc-viewer.html"; /** *

Whether the property should show a one-liner, or full summary.

*

Note that this property is reflected as an attribute, but we perform
the reflection manually. In order to support the CSS transitions, we
must calculate the element height before setting the attribute.

* * JavaScript Info: * @property collapsed * @type Boolean * */ @JsProperty boolean getCollapsed(); /** *

Whether the property should show a one-liner, or full summary.

*

Note that this property is reflected as an attribute, but we perform
the reflection manually. In order to support the CSS transitions, we
must calculate the element height before setting the attribute.

* * JavaScript Info: * @property collapsed * @type Boolean * */ @JsProperty void setCollapsed(boolean value); /** *

The Hydrolysis-generated
element descriptor to display details for.

*

Alternatively, the element descriptor can be provided as JSON via the text content
of this element.

* * JavaScript Info: * @property descriptor * @type hydrolysis.PropertyDescriptor * */ @JsProperty JavaScriptObject getDescriptor(); /** *

The Hydrolysis-generated
element descriptor to display details for.

*

Alternatively, the element descriptor can be provided as JSON via the text content
of this element.

* * JavaScript Info: * @property descriptor * @type hydrolysis.PropertyDescriptor * */ @JsProperty void setDescriptor(JavaScriptObject value); /** * * * JavaScript Info: * @property listeners * @type Object * */ @JsProperty JavaScriptObject getListeners(); /** * * * JavaScript Info: * @property listeners * @type Object * */ @JsProperty void setListeners(JavaScriptObject value); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy