Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
import { AccountHubStep } from "./account-hub-step.mjs";
/**
* Account Hub Address Book Local Account Form Template
* Template ID: #accountHubAddressBookLocalFormTemplate
* (from accountHubAddressBookLocalFormTemplate.inc.xhtml)
*/
class AddressBookLocalForm extends AccountHubStep {
connectedCallback() {
if (this.hasConnected) {
return;
}
super.connectedCallback();
this.hasConnected = true;
const template = document
.getElementById("accountHubAddressBookLocalFormTemplate")
.content.cloneNode(true);
this.appendChild(template);
this.showBrandingHeader();
}
}
customElements.define("address-book-local-form", AddressBookLocalForm);