@braze/web-sdk
Version:
Braze SDK for web sites and other JS platforms.
31 lines (30 loc) • 916 B
JavaScript
import Card from "./card.js";
export default class ImageOnly extends Card {
constructor(s, t, i, h, l, r, e, n, o, u, a, c, d) {
super(s, t, null, i, null, h, l, r, null, e, n, o, u, a, c, d),
(this.Xt = "ab-image-only"),
(this.Yt = !1),
(this.test = !1);
}
dt() {
const s = {};
return (
(s[Card.ss.ts] = Card.es.Ii),
(s[Card.ss.rs] = this.id),
(s[Card.ss.os] = this.viewed),
(s[Card.ss.ns] = this.imageUrl),
(s[Card.ss.ps] = this.updated),
(s[Card.ss.us] = this.expiresAt),
(s[Card.ss.URL] = this.url),
(s[Card.ss.fs] = this.aspectRatio),
(s[Card.ss.xs] = this.extras),
(s[Card.ss.bs] = this.pinned),
(s[Card.ss.gs] = this.dismissible),
(s[Card.ss.js] = this.clicked),
(s[Card.ss.zs] = this.language),
(s[Card.ss.ks] = this.altImageText),
(s[Card.ss.qs] = this.test),
s
);
}
}