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

28 lines
746 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! ⤵'));
};
/**
* Get the title of the card.
*
* @return {string} The title of the card.
*/
// beestat.component.card.early_access.prototype.get_title_ = function() {
// return 'Possible issue with your temperature profiles!';
// };