projects/conversational-commerce-agent/conversational-agent-examples/assets/apparel-ui/static/local.html [13:51]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - constructor() { super(); this.dfPayload = null; this.dfResponseId = null; this.renderRoot = this.attachShadow({ mode: 'open' }); } /** Web component Lifecycle method. */ connectedCallback() { this.renderRoot.appendChild(this._renderStyles()); this.renderRoot.appendChild(this._renderContent()); } /** * Render styles. * @return {HTMLElement!} */ _renderStyles() { const styles = document.createElement('style'); styles.textContent = ` .wrapper { color: var(--df-messenger-default-text-color); } .title-link { text-decoration: none; color: var(--df-messenger-default-text-color); } .item-list { display: flex; width: 100%; gap: 15px; /* No flex wrap. */ overflow-x: auto; } .item { width: 50%; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - projects/conversational-commerce-agent/conversational-agent-examples/assets/apparel-ui/static/local.html [177:215]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - constructor() { super(); this.dfPayload = null; this.dfResponseId = null; this.renderRoot = this.attachShadow({ mode: 'open' }); } /** Web component Lifecycle method. */ connectedCallback() { this.renderRoot.appendChild(this._renderStyles()); this.renderRoot.appendChild(this._renderContent()); } /** * Render styles. * @return {HTMLElement!} */ _renderStyles() { const styles = document.createElement('style'); styles.textContent = ` .wrapper { color: var(--df-messenger-default-text-color); } .title-link { text-decoration: none; color: var(--df-messenger-default-text-color); } .item-list { display: flex; width: 100%; gap: 15px; /* No flex wrap. */ overflow-x: auto; } .item { width: 50%; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -