@braze/web-sdk
Version:
Braze SDK for web sites and other JS platforms.
34 lines (33 loc) • 732 B
JavaScript
import { PropertiesBase as p } from "../common/properties-base.js";
export default class Banner extends p {
constructor(t, s, i, h = !1, r = !1, e = -1, o = {}) {
super(o),
(this.id = t),
(this.placementId = s),
(this.html = i),
(this.xt = h),
(this.isControl = r),
(this.zt = e),
(this.id = t),
(this.placementId = s),
(this.html = i),
(this.xt = h),
(this.isControl = r),
(this.zt = e),
(this.kt = !1);
}
At() {
return this.isControl;
}
dt() {
return {
id: this.id,
pid: this.placementId,
html: this.html,
its: this.xt,
ic: this.isControl,
eat: this.zt,
pr: this.properties,
};
}
}