К примеру, вам нужно сделать, чтобы при нажатии на кнопку вам открывалось одно и тоже модальное окно, но каждое со своей информацией и стилями.
Вместо какого-либо тега вы используете название вашего компонента. К примеру, это «modal-button». Это название вы используете как название класса в camelCase и связываете в customElements.define.
К примеру, вам нужно сделать, чтобы при нажатии на кнопку вам открывалось одно и тоже модальное окно, но каждое со своей информацией и стилями.
Вместо какого-либо тега вы используете название вашего компонента. К примеру, это «modal-button». Это название вы используете как название класса в camelCase и связываете в customElements.define.
On Tuesday, some local media outlets included Sing Tao Daily cited sources as saying the Hong Kong government was considering restricting access to Telegram. Privacy Commissioner for Personal Data Ada Chung told to the Legislative Council on Monday that government officials, police and lawmakers remain the targets of “doxxing” despite a privacy law amendment last year that criminalised the malicious disclosure of personal information. Telegram has announced a number of measures aiming to tackle the spread of disinformation through its platform in Brazil. These features are part of an agreement between the platform and the country's authorities ahead of the elections in October. best-secure-messaging-apps-shutterstock-1892950018.jpg Image: Telegram. Select “New Channel”
from us