filmov
tv
AngularJS Quiz App Tutorial (4/24) - Bootstrap Modal Markup

Показать описание
The writeup for this video:
Part 1 of this series:
The Git Repo for this project:
Now that the markup for the list of turtles is nearing completion it is time to create the bootstrap markup for the "learn more" popup. In bootstrap this sort of popup area is known as a modal.
In this video we will be creating the bootstrap modal markup and then populating it with the data from the turtle that the user clicked "learn more" on.
To do this, we need to create another property on our controller that will contain the data for the "active turtle", which will be the turtle the user wants to learn more about. We then need to populate the active turtle property everytime the user clicks the learn more button on one of the turtles.
This property is then what we will use to populate the modal inside our angular application.
Support Me On Patreon
One Off Donations:
Bitcoin: 39iDX27ZSkYtRhUrH5r5YN128wEjwDmSYp
Ethereum: 0x38b3cBF8Ee3EeeeA33D1925bA0ce0e90c8EcFD46
Horizen (ZEN): znanBCHpWJecBwZZmft9r5QzbzRX4nQn6Dz
Check Out The Site!
SUBSCRIBE!
Join the Community!
Part 1 of this series:
The Git Repo for this project:
Now that the markup for the list of turtles is nearing completion it is time to create the bootstrap markup for the "learn more" popup. In bootstrap this sort of popup area is known as a modal.
In this video we will be creating the bootstrap modal markup and then populating it with the data from the turtle that the user clicked "learn more" on.
To do this, we need to create another property on our controller that will contain the data for the "active turtle", which will be the turtle the user wants to learn more about. We then need to populate the active turtle property everytime the user clicks the learn more button on one of the turtles.
This property is then what we will use to populate the modal inside our angular application.
Support Me On Patreon
One Off Donations:
Bitcoin: 39iDX27ZSkYtRhUrH5r5YN128wEjwDmSYp
Ethereum: 0x38b3cBF8Ee3EeeeA33D1925bA0ce0e90c8EcFD46
Horizen (ZEN): znanBCHpWJecBwZZmft9r5QzbzRX4nQn6Dz
Check Out The Site!
SUBSCRIBE!
Join the Community!
Комментарии