@braze/web-sdk
Version:
Braze SDK for web sites and other JS platforms.
36 lines (35 loc) • 780 B
JavaScript
import { PropertiesBase as x } from "../common/properties-base.js";
export default class Banner extends x {
constructor(t, s, i, h = !1, r = !1, e = -1, o = {}, n = null) {
super(o),
(this.id = t),
(this.placementId = s),
(this.html = i),
(this.Vt = h),
(this.isControl = r),
(this.Yt = e),
(this.G = n),
(this.id = t),
(this.placementId = s),
(this.html = i),
(this.Vt = h),
(this.isControl = r),
(this.Yt = e),
(this.Zt = !1);
}
ts() {
return this.isControl;
}
qt() {
return {
id: this.id,
pid: this.placementId,
html: this.html,
its: this.Vt,
ic: this.isControl,
eat: this.Yt,
pr: this.properties,
sk: this.G,
};
}
}