1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00
beestat/js/component/card/early_access.js
Jon Ziebell 6d7b4ff3f5 Metrics
There's no description for a commit with changes to 65 files.
2021-01-27 20:49:27 -05:00

18 lines
517 B
JavaScript

/**
* Early access
*/
beestat.component.card.early_access = function() {
beestat.component.card.apply(this, arguments);
};
beestat.extend(beestat.component.card.early_access, beestat.component.card);
/**
* Decorate
*
* @param {rocket.Elements} parent
*/
beestat.component.card.early_access.prototype.decorate_contents_ = function(parent) {
parent.style('background', beestat.style.color.green.base);
parent.appendChild($.createElement('p').innerText('Experimental early access features below! ⤵'));
};