-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
featureNew feature or requestNew feature or requestneeds discoveryNeeds discoveryNeeds discoveryneeds refinementThis issue needs to be refinedThis issue needs to be refinedneeds revisitingOutdated issues worth revisiting in the futureOutdated issues worth revisiting in the futurenew componentNew component to be createdNew component to be created
Milestone
Description
Description
rh-background-image
as an improvement on pf-background-image
with more feature set and variants. Should allow the image to be used in a container as well as positioned within that container, as well as repeated. Maybe support use of multiple background images as well?
Suggested solution
Background image that could be placed like a standard <img>
tag
Possible attributes:
src (string) - required - path to image
src-2x - path to 2x image
src-sm - path to sm image
src-sm-2x - path to sm 2x image
src-lg - path to lg image
// see pf-background-image for more about the src attributes usage as base example
repeat (boolean) - default: false - allow for repeating icons.
Example API
<rh-background-image src="/path/to/image.png" repeat></rh-background-image>
Additional context
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestneeds discoveryNeeds discoveryNeeds discoveryneeds refinementThis issue needs to be refinedThis issue needs to be refinedneeds revisitingOutdated issues worth revisiting in the futureOutdated issues worth revisiting in the futurenew componentNew component to be createdNew component to be created
Type
Projects
Status
Todo