com.vaadin.polymer.paper.element.PaperItemBodyElement Maven / Gradle / Ivy
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from paper-item project by The Polymer Authors
* that is licensed with MIT license.
*/
package com.vaadin.polymer.paper.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;
/**
* Use <paper-item-body>
in a <paper-item>
or <paper-icon-item>
to make two- or
three- line items. It is a flex item that is a vertical flexbox.
* <paper-item>
* <paper-item-body two-line>
* <div>Show your status</div>
* <div secondary>Your status is visible to everyone</div>
* </paper-item-body>
* </paper-item>
*
*
*
The child elements with the secondary
attribute is given secondary text styling.
* Styling
* The following custom properties and mixins are available for styling:
*
*
*
* Custom property
* Description
* Default
*
*
*
*
* --paper-item-body-two-line-min-height
* Minimum height of a two-line item
* 72px
*
*
* --paper-item-body-three-line-min-height
* Minimum height of a three-line item
* 88px
*
*
* --paper-item-body-secondary-color
* Foreground color for the secondary
area
* --secondary-text-color
*
*
* --paper-item-body-secondary
* Mixin applied to the secondary
area
* {}
*
*
*
*/
@JsType
public interface PaperItemBodyElement extends HTMLElement {
public static final String TAG = "paper-item-body";
public static final String SRC = "paper-item/all-imports.html";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy