Welcome back and in this lesson, we are going to try the Fed the face, which is the announcing phase.
OK, so let us back here and here we have the components will amount's function.
What is the components?
Will amount function.
The components will amount.
Function is a component is a function which hairpin OK, which happens before the amount of your components.
OK, when I say for example, the amount of a component is, for example when your components is destroyed.
OK, so let us begin of your code.
So I'm going to advise you to do something in your clock, not module dodgiest.
Just add this class and this property is OK and then you are going to integrate, you are going to call
this here and I advise you to change your empty tag to the device, OK, in order to extend from this
class, OK, which is border.
And here you can see a class name, Oxtails, Dots Border, because we have used Stiers as an object
when we have the imported the Glock DOT module success.
If you try to look here, you want to have Stiers from the NYSE and we are going to get this.
OK, you are going to have this in the center.
OK, so what I mean about dismounting face the monthly fees is when your component is amount's, it's
all destroyed.
So what the disruption.
So we are going to come first full here of a clock notice and we are going to put we are going to put
this function components, Will Armont.
And here I'm going to say we are in the components will Armand's function.
OK, we access these components before the next question, before a mounting of our rate components.
So let us be clear in relative peace, as you can see, we don't have the components will months.
We don't.
Yes, we do still have the components will Ammon's because our components is not destroyed.
OK, this is function is instead of our clock doges.
OK, this function components will amongst the components we are talking about is doges, OK.
And once this is destroyed, the first thing will happen is what the components will.
Arman's ok, the components will amounts will come first full before the destruction of block dodgiest
know now how to destroy Glocke doges.
Let us come in updo this.
This is our closes components and if we want to destroy all amount's these components, we are going
for his input to remove these components or let us make these components.
That means we have unmounted these components or we have destroyed these components.
And if we try to make our Brossette, as you can see here, you're going to see if we are in the components.
Will amount's and dysfunction come just before the amount of our components?
Yes, OK, the components is destroyed.
OK, but before the discussion, it will automatically call components will Ormond's.
So this is what you can say about the destruction of the components, the amount of your components.
OK, so it is very simple.
So the desire is to create a bottom here.
So I'm going to create a button here.
Intriguing to see, for example, click here.
And here we are going to anticipate and to the event lessons, so we are going to say, for example,
to cure the disease, for example, once I click on this button.
The desire is to remove for or to hate to remove these components, I'd if I click again, if the component
is remove it, if I click again, the same button is to reset like a component.
So let back here and I'm going to create a data in my state.
I'm going to put my state on what I call my state's.
St..
OK, and I'm going to call the state display.
Here you see.
Display is going by default, I'm going to set it to through the display.
He is going to have a ball in top.
OK, and here I'm going to say I'm going to create a function and I'm going to I'm going to name this
function show.
Or quite like this kid, it will have a narrow function and they will function type K lattice and words.
I'm going to say here I'm going to display for is an important message to taste like I'm going to say,
OK, for example.
And here I'm going to use the unclick attributes, like make sure to use the six like this on Cleek.
Is going to be equal to this, and I'm going to say this show, or I'd like and like this little straight,
big, let us back here and click click here.
We solve those big.
These OK, so make sure to yes, make sure to remove this, OK?
Make sure to remove this as big.
Click here, Latisse.
OK, very good.
Because if you do.
Um, Latisse.
Yes, yes, because we are using the error function, so make sure to yes, this show hides is like
it is a variable, like as you can see in which we are, this console looks so you don't need to put
it like this.
But inside here we have this error function like.
So do not make this mistake to put brackets like this.
So you're going to skew because we have a function in show or writing or.
Alright.
OK, but if it was like this.
Yes, if if it was like a function like this.
Like the function.
This.
You're going to say also, is this not the height like this if you try to make sure it will work?
OK, but if you want to add, for example, brackets here.
It's it's once a week.
I can click on click, the thing you're going to do is to eight in a row of functions here at least,
and once you do like this, so you're going to taste different if you try to reload in its wake.
OK, you can play with phage program.
It is very simple.