Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Angular 2025 Tutorial: Build a Draggable & Fullscreen Modal with CDK

  • Masked Dev
  • 2025-09-16
  • 93
Angular 2025 Tutorial: Build a Draggable & Fullscreen Modal with CDK
angular tutorialangular modalangular popupangular 18 tutorialangular 20 tutorialangular cdk drag dropangular draggable modalangular fullscreen modalangular component tutorialangular typescript tutorialangular standalone componentsangular web developmentfrontend developmentangular project tutorialangular beginners
  • ok logo

Скачать Angular 2025 Tutorial: Build a Draggable & Fullscreen Modal with CDK бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Angular 2025 Tutorial: Build a Draggable & Fullscreen Modal with CDK или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Angular 2025 Tutorial: Build a Draggable & Fullscreen Modal with CDK бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Angular 2025 Tutorial: Build a Draggable & Fullscreen Modal with CDK

In this step-by-step Angular tutorial, we build a fully custom modal popup component from scratch. You’ll learn how to create a reusable modal in Angular 18 or Angular 20, add Cancel / Confirm events, and make it draggable and fullscreen with the Angular CDK.

✨ What you’ll learn in this video:
– Generating a standalone component with Angular CLI
– Using @Input() and @Output() for parent ↔ child communication
– Styling the modal with SCSS (header, body, footer)
– Projecting content into the modal with ng-content
– Adding drag-and-drop behavior with Angular CDK
– Implementing a fullscreen toggle with HostBinding

🔧 Tech used: Angular 18 / Angular 20, Angular CDK, TypeScript, SCSS

📌 Full SCSS code is in the description for copy & paste.

SCSS Modal Component:
:host {
position: fixed;
left: 50%;
top: calc(50% - 40px);
transform: translate(-50%, -50%);
width: 350px;
max-width: 350px;
min-width: 350px;
&.fullscreen {
width: 100vw;
height: 100vh;
left: 0;
top: 0;
transform: none;
max-width: none;
.modal {
border-radius: 0px;
}
.modal__body {
max-height: none;
}
}
}

.modal {
width: 100%;
height: 100%;
border-radius: 8px;
background: #F9F9FC;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
display: flex;
flex-direction: column;

&__header {
width: 100%;
height: 48px;
min-height: 48px;
max-height: 48px;
padding: 0px 12px;
display: flex;
justify-content: space-between;
gap: 20px;
align-items: center;
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
&:hover {
cursor: grab; user-select: none;
}
h4 {
font-size: 15px;
font-weight: 600;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
cursor: pointer;
}
img {
cursor: pointer;
height: 18px;
}
}

&__body {
height: auto;
max-height: 500px;
overflow: hidden;
overflow-y: auto;
padding: 12px;
flex-grow: 1;
}

&__buttons {
width: 100%;
min-height: 48px;
max-height: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
border-top: 1px solid rgba(0, 0, 0, 0.25);
button {
text-transform: capitalize;
padding: 4px 8px;
outline: none;
border: none;
font-size: 13px;
border-radius: 9999px;
cursor: pointer;
}
button.cancel {
color: #282AD3;
background-color: transparent;
padding: 4px;
font-weight: 600;
}
button.confirm {
background-color: #282AD3;
color: #fff;
}
}
}

SCSS App Component:
:host {
width: 100%;
height: 100%;
display: block;
overflow: hidden;
}

If you find this useful, don’t forget to like, comment, and subscribe for more Angular & frontend tutorials!

#Angular #AngularTutorial #WebDevelopment #Frontend #Programming

Комментарии

Информация по комментариям в разработке

Похожие видео

  • 💥 The END of Angular Change Detection?? RIP 🪦
    💥 The END of Angular Change Detection?? RIP 🪦
    1 год назад
  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]