-
Notifications
You must be signed in to change notification settings - Fork 207
x-card should support a "src" attribute #165
Comments
We have a panel that does that. https://github.com/x-tag/panel You can download it here. |
Would that work as a drop in replacement for x-card? That would be cool. :) |
You'll have to nest them like so:
|
I'm speaking hypothetical now - but I wonder if x-deck could be updated to On Wed, Apr 16, 2014 at 4:24 PM, Arron Schaar notifications@github.comwrote:
Raymond Camden, Web Developer for Adobe Email : raymondcamden@gmail.com |
The cards have some special functionality, so it's not possible to use any block element. However, hypothetically, you can create a new custom element that extends from x-card and add any special functionality you want. For example:
In this sample, I'm using the same request mixin that is used in x-panel and extending from an x-card. The request mixin is called I reviewed our x-deck code and it looks like it is hard coded to look for |
The goal in Brick 2.0 will be to allow any element to be a 'card' in a deck and remove the need for a specific card element. Right now this is not yet the case, so leaving this bug open to track. |
will be tracked in mozbrick/brick-deck#6 |
It would be cool if x-card could be sourced via XHR. So for example:
The text was updated successfully, but these errors were encountered: