-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow media helper to accept an icon as an alternative to an image #317
Conversation
Current coverage is 100% (diff: 100%)@@ develop #317 diff @@
=====================================
Files 14 14
Lines 397 397
Methods 29 29
Messages 0 0
Branches 0 0
=====================================
Hits 397 397
Misses 0 0
Partials 0 0
|
Updated page for gitbook (when feature ready for merge) MediaThe media object is, typically, an image on the left with descriptive content on the right. This is our implementation of http://www.stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/ Example usage
See the Pen docs - media object by Pulsar (@pulsar) on CodePen. <script async src="//assets.codepen.io/assets/embed/ei.js"></script>Options
Icons instead of imagesSupply an
Optional actionYou can place actions on the right hand side, like remove buttons or status indicators.
See the Pen docs - media object - action by Pulsar (@pulsar) on CodePen. <script async src="//assets.codepen.io/assets/embed/ei.js"></script> |
👍 |
Closes #315