Live readme-sample on Heroku
Required
Type:string
Name of image file
picture_tile = {picture_src: '1_east_van.png'}
Type:
AREA_PROP_TYPE
Default: 'middle'
Cascades from ReactHoverGrid.normal_area if none
Location of text when image is not being hovered on
picture_tile = {...
, normal_area: 'north-east'}
Type:
AREA_PROP_TYPE
Default: 'middle'
Cascades from ReactHoverGrid.hover_area if none
Location of text when image is being hovered on
picture_tile = {...
, hover_area: 'south-west'}
Type:
STRING_OR_OBJECT_CSS
Cascades from ReactHoverGrid.normal_style if none
Style of text when image is not being hovered on
picture_tile = {...
, normal_style: 'font-size: 24px; color: #aabbcc'}
picture_tile = {...
, normal_style: '.css-style-from-file'}
picture_tile = {...
, normal_style: {fontSize: '24px', color: '#aabbcc'} }
Type:
STRING_OR_OBJECT_CSS
Cascades from ReactHoverGrid.hover_style if none
Style of text when image is being hovered on
picture_tile = {...
, hover_style: 'font-size: 24px; color: #aabbcc'}
picture_tile = {...
, hover_style: '.css-style-from-file'}
picture_tile = {...
, hover_style: {fontSize: '24px', color: '#aabbcc'} }
Type: CSS_GRADIENT
Cascades from ReactHoverGrid.hover_gradient if none
Overridden by hover_linear_gradient
Gradient over image when it is being hovered on
picture_tile = {...
, hover_gradient: 'rgba(255, 0, 0, 0.1)' }
Type: CSS_GRADIENT
Cascades from ReactHoverGrid.normal_gradient if none
Overridden by normal_linear_gradient
Gradient over image when it is not being hovered on
picture_tile = {...
, normal_gradient: 'rgba(255, 0, 0, 0.1)' }
Type: LINEAR_GRADIENT
Cascades from ReactHoverGrid.hover_linear_gradient if none
overrides hover_gradient
Linear gradient over image when it is being hovered on
picture_tile = {...
, hover_linear_gradient: {clear_percent: 50
, gradient_rgba: 'rgba(255, 255, 255, 1)'} }
Type: LINEAR_GRADIENT
Cascades from ReactHoverGrid.normal_linear_gradient if none
overrides normal_gradient
Linear gradient over image when it is not being hovered on
picture_tile = {...
, normal_linear_gradient: {clear_percent: 75
, gradient_rgba: 'rgba(0, 0, 0, 0.99)'} }
Type:
STRING_OR_OBJECT_CSS
Cascades from ReactHoverGrid.normal_title_style if none
Style of first line of text when image is not being hovered on
picture_tile = {...
, normal_title_style: 'font-size: 24px; color: #aabbcc'}
picture_tile = {...
, normal_title_style: '.css-style-from-file'}
picture_tile = {...
, normal_title_style: {fontSize: '24px', color: '#aabbcc'} }
Type:
STRING_OR_OBJECT_CSS
Cascades from ReactHoverGrid.normal_text_style if none
Style of second line of text when image is not being hovered on
picture_tile = {...
, normal_text_style: 'font-size: 12px; color: #112233'}
picture_tile = {...
, normal_text_style: '.css-style-from-file'}
picture_tile = {...
, normal_text_style: {fontSize: '12px', color: '#112233'} }
Type:
STRING_OR_OBJECT_CSS
Cascades from ReactHoverGrid.hover_title_style if none
Style of first line of text when image is being hovered on
picture_tile = {...
, hover_title_style: 'font-size: 24px; color: #aabbcc'}
picture_tile = {...
, hover_title_style: '.css-style-from-file'}
picture_tile = {...
, hover_title_style: {fontSize: '24px', color: '#aabbcc'} }
Type:
STRING_OR_OBJECT_CSS
Cascades from ReactHoverGrid.hover_text_style if none
Style of second line of text when image is being hovered on
picture_tile = {...
, hover_text_style: 'font-size: 12px; color: #112233'}
picture_tile = {...
, hover_text_style: '.css-style-from-file'}
picture_tile = {...
, hover_text_style: {fontSize: '12px', color: '#112233'} }
Type: CSS_FILTER
Cascades from ReactHoverGrid.filter_normal if none
Filter when image is not being hovered on
picture_tile = {...
, filter_normal: 'hue-rotate(150deg)'}
Type: CSS_FILTER
Cascades from ReactHoverGrid.filter_hover if none
Filter when image is being hovered on
picture_tile = {...
, filter_hover: 'hue-rotate(150deg)'}
Type:
string
If no link_url then an image click will display the original image
picture_tile = {...
, link_url: 'http://www.heroku.com'}
Type:
string
The first line of text when image is not being hovered on
picture_tile = {...
, normal_title: 'First line of normal text'}
Type:
string
The second line of text when image is not being hovered on
picture_tile = {...
, normal_info: 'Second line of normal text'}
Type:
string
The first line of text when image is being hovered on
picture_tile = {...
, hover_title: 'First line of hover text'}
Type:
string
The second line of text when image is being hovered on
picture_tile = {...
, hover_info: 'Second line of hover text'}
Type: number
Always show image in this column, only one image can have this setting.
Must be paired with static_row
react_hover_grid = {...
, static_col: 2 }
Type: number
Always show image in this row, only one image can have this setting.
Must be paired with static_col
react_hover_grid = {...
, static_row: 2 }
MIT ©