blob: c4ceca286e10fd9c4dc6735eac37bee28271a4dc [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'chrome://resources/cr_elements/cr_button/cr_button.js';
import {PolymerElement} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js';
import {IntroBrowserProxy, IntroBrowserProxyImpl} from './browser_proxy.js';
import {getTemplate} from './lacros_app.html.js';
export class LacrosIntroAppElement extends PolymerElement {
static get is() {
return 'intro-app';
}
static get template() {
return getTemplate();
}
private browserProxy_: IntroBrowserProxy =
IntroBrowserProxyImpl.getInstance();
private onContinueWithAccountClick_() {
this.browserProxy_.continueWithAccount();
}
}
declare global {
interface HTMLElementTagNameMap {
'intro-app': LacrosIntroAppElement;
}
}
customElements.define(LacrosIntroAppElement.is, LacrosIntroAppElement);