before config state
This commit is contained in:
@@ -4,6 +4,7 @@ import Panzoom from '@panzoom/panzoom';
|
||||
import { PanzoomObject } from "@panzoom/panzoom/dist/src/types";
|
||||
import { config } from "./config";
|
||||
|
||||
|
||||
export function setOptionSelect(inSeatmapListing: I.Seatmap[], inId: string) {
|
||||
const seatmapDropdown: HTMLElement | null = document.getElementById(inId);
|
||||
if (seatmapDropdown) {
|
||||
@@ -151,4 +152,23 @@ export function addPanzoom(inSelector: string, inBtnZoomIn: string | null = null
|
||||
export function changeVenueImage(inInputsWithValue: I.InputsWithValue) {
|
||||
if (inInputsWithValue.venueImageSrc !== undefined)
|
||||
jQuery("#venueImage img").attr("src", inInputsWithValue.venueImageSrc);
|
||||
}
|
||||
|
||||
export function showHideBtnCartLoading(inSwitch: string) {
|
||||
if (inSwitch === "show") {
|
||||
jQuery("#modalCart .uabb-button").css("pointer-events", "none");
|
||||
jQuery("#modalCart i").hide();
|
||||
jQuery("#modalCart .uabb-button-text").addClass("dot-pulse");
|
||||
}
|
||||
else if (inSwitch === "hide") {
|
||||
jQuery("#modalCart i").show();
|
||||
jQuery("#modalCart .uabb-button-text").removeClass("dot-pulse");
|
||||
jQuery("#modalCart .uabb-button").css("pointer-events", "all");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export function showModalCart() {
|
||||
jQuery("#modalCart-overlay").fadeIn(300);
|
||||
Communication.sendEventToParent("child_hide_dialog_titlebar");
|
||||
}
|
||||
Reference in New Issue
Block a user