@braze/web-sdk
Version:
Braze SDK for web sites and other JS platforms.
34 lines (33 loc) • 1.04 kB
JavaScript
import Card from "./card.js";
export default class CaptionedImage extends Card {
constructor(t, s, i, h, e, r, a, o, c, n, d, p, u, l, m, f) {
super(t, s, i, h, e, r, a, o, c, n, d, p, u, l, m, f),
(this.oe = "ab-captioned-image"),
(this.ae = !0),
(this.test = !1);
}
bt() {
const t = {};
return (
(t[Card.es.hs] = Card.ds.cs),
(t[Card.es.ps] = this.id),
(t[Card.es.us] = this.viewed),
(t[Card.es.ls] = this.title),
(t[Card.es.fs] = this.imageUrl),
(t[Card.es.xs] = this.description),
(t[Card.es.bs] = this.updated),
(t[Card.es.gs] = this.created),
(t[Card.es.js] = this.categories),
(t[Card.es.zs] = this.expiresAt),
(t[Card.es.URL] = this.url),
(t[Card.es.ks] = this.linkText),
(t[Card.es.qs] = this.aspectRatio),
(t[Card.es.vs] = this.extras),
(t[Card.es.ws] = this.pinned),
(t[Card.es.ys] = this.dismissible),
(t[Card.es.As] = this.clicked),
(t[Card.es.Bs] = this.test),
t
);
}
}