@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.ae = "ab-captioned-image"),
(this.oe = !0),
(this.test = !1);
}
qt() {
const t = {};
return (
(t[Card.bs.xs] = Card.ks.zs),
(t[Card.bs.qs] = this.id),
(t[Card.bs.vs] = this.viewed),
(t[Card.bs.ws] = this.title),
(t[Card.bs.ys] = this.imageUrl),
(t[Card.bs.As] = this.description),
(t[Card.bs.Bs] = this.updated),
(t[Card.bs.Cs] = this.expiresAt),
(t[Card.bs.URL] = this.url),
(t[Card.bs.Ds] = this.linkText),
(t[Card.bs.Es] = this.aspectRatio),
(t[Card.bs.Fs] = this.extras),
(t[Card.bs.Gs] = this.pinned),
(t[Card.bs.Hs] = this.dismissible),
(t[Card.bs.Is] = this.clicked),
(t[Card.bs.Js] = this.language),
(t[Card.bs.Ks] = this.altImageText),
(t[Card.bs.Ls] = this.test),
t
);
}
}