Открытый модальный туалетный ветер вручную?Javascript

Форум по Javascript
Anonymous
Открытый модальный туалетный ветер вручную?

Сообщение Anonymous »

Я использую Prline UI вместе с Tailwind CSS для модалей в моем проекте Vue:
https://preline.co/docs/modal.htmlобраз ... up="dialog"
aria-expanded="false"
aria-controls="hs-basic-modal"
data-hs-overlay="#hs-basic-modal"
< /code>
Я хотел бы иметь возможность открывать модальный программно через js. < /p>
Как бы я это сделал?
Open modal






Modal title


Close







This is a wider card with supporting text below as a natural lead-in to additional content.


Close


Save changes







Подробнее здесь: https://stackoverflow.com/questions/796 ... l-manually

Вернуться в «Javascript»