クリックでx座標とy座標を取得して入力ボックスに表示しようとしています。しかし、値を表示するには、最初にdivをクリックして座標を取得してから、入力ボックスの1つをクリックしてください。私の目標は、ユーザーがx座標とy座標をクリックしたときに入力ボックスを設定することです。角度結合が遅れた
<md-input-container class="md-block" flex-gt-sm >
<label>Vertical</label>
<input ng-model="pdfVertical">
</md-input-container>
<md-input-container class="md-block" flex-gt-sm >
<label>Horisontal</label>
<input ng-model="pdfHorisontal">
</md-input-container>
$("#overlayDiv").click(function (event) {
$scope.pdfVertical = event.clientY;
$scope.pdfHorisontal = event.clientX;
});