public static final class ReflectionBehavior.Javascript extends Object
| Modifier and Type | Method and Description |
|---|---|
static CharSequence |
hide(String id)
Gets the Javascript for removing a reflection from an image.
|
static CharSequence |
show(String id,
Integer opacity,
Integer height)
Gets the script that adds a reflection to an image.
|
public static CharSequence hide(String id)
id - the markup id of the image.public static CharSequence show(String id, Integer opacity, Integer height)
id - the markup id of the imageopacity - the opacity of the reflection (may be null for default value)height - the height of the reflection (may be null for default value)Copyright © 2017. All rights reserved.