Files
gerrit/polygerrit-ui/app/elements/diff/gr-diff-cursor/gr-diff-cursor_html.ts
Dhruv Srivastava ae6ab6c496 Remove _scrollTopMargin after removing gr-fixed-panel
Change-Id: I6f6482b05cb0521912c32dde94988cdaae620680
2020-08-13 20:23:15 +00:00

28 lines
925 B
TypeScript

/**
* @license
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {html} from '@polymer/polymer/lib/utils/html-tag';
export const htmlTemplate = html`
<gr-cursor-manager
id="cursorManager"
scroll-mode="[[_scrollMode]]"
cursor-target-class="target-row"
focus-on-move="[[_focusOnMove]]"
target="{{diffRow}}"
></gr-cursor-manager>
`;