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

com.vaadin.polymer.paper.PaperItemBodyElement Maven / Gradle / Ivy

The newest version!
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from paper-item project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.paper;

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;

/**
 * 

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 propertyDescriptionDefault
--paper-item-body-two-line-min-heightMinimum height of a two-line item72px
--paper-item-body-three-line-min-heightMinimum height of a three-line item88px
--paper-item-body-secondary-colorForeground color for the secondary area--secondary-text-color
--paper-item-body-secondaryMixin applied to the secondary area{}
*/ @JsType(isNative=true) public interface PaperItemBodyElement extends HTMLElement { @JsOverlay public static final String TAG = "paper-item-body"; @JsOverlay public static final String SRC = "paper-item/all-imports.html"; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy