All language subtitles for 1. Vue JS concepts

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French Download
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,360 --> 00:00:06,870 There, guys in Dallas, like Joe, we have fixed our pages where the text was not visible in this lecture 2 00:00:06,990 --> 00:00:09,870 and we'd like to go through some of the hugest concepts. 3 00:00:10,350 --> 00:00:16,200 OK, so this will be not related to our current application about just the general view, just concepts. 4 00:00:16,740 --> 00:00:17,810 OK, let's begin. 5 00:00:19,620 --> 00:00:21,990 And let's create a simple counter. 6 00:00:22,350 --> 00:00:27,810 OK, so accountability people seven zero from a click of a button, the counter increased to one two, 7 00:00:27,810 --> 00:00:29,880 three four or five six seven and so on. 8 00:00:31,600 --> 00:00:38,050 OK, let's handle it in our home page, let's go to our home and the view and simply in a date as we 9 00:00:38,050 --> 00:00:45,190 are returning this data after action exchanges or before exchanges, let's simply what I account and 10 00:00:45,220 --> 00:00:45,960 it'll be there. 11 00:00:46,210 --> 00:00:47,480 Let's start at the 10. 12 00:00:47,500 --> 00:00:48,730 Let's say it doesn't really matter. 13 00:00:49,780 --> 00:00:54,720 You know how to display it, so let's go up here and their exchange list here. 14 00:00:55,330 --> 00:00:58,090 Let's display this data because this play here, Dave. 15 00:00:58,630 --> 00:00:59,400 Simple, Dave. 16 00:01:00,110 --> 00:01:03,130 Dave like this. 17 00:01:03,160 --> 00:01:07,250 And instead of this feel, this play the value, OK? 18 00:01:07,580 --> 00:01:08,710 The curly brackets. 19 00:01:08,710 --> 00:01:11,040 And to get a data here to slide here, I'll. 20 00:01:13,560 --> 00:01:20,270 OK, you could say it was a go to a browser to see it in the home page, so counties here are 10. 21 00:01:21,290 --> 00:01:24,010 OK, maybe it's not advisable, I will just right here. 22 00:01:25,150 --> 00:01:31,060 So Margene, in the interview is actually not the judge of your jazz in a bull market would say in a 23 00:01:31,060 --> 00:01:38,430 bulma expose some classes and these classes can manipulate the margins, and they're very easy to to 24 00:01:38,500 --> 00:01:44,200 provide because they're called like this MLA, which mean margin left and you can have a margin of left 25 00:01:44,830 --> 00:01:49,810 one two, three three four six and so on. 26 00:01:49,810 --> 00:01:53,290 And the margin left six o'clock creates a nice margin on there on the left side. 27 00:01:53,830 --> 00:01:54,130 OK. 28 00:01:56,040 --> 00:01:59,750 So now what you can see is a little bit of margin to the left side is valued and I will assume it, 29 00:01:59,760 --> 00:02:01,590 and so you can see the value trend here. 30 00:02:03,650 --> 00:02:04,100 OK. 31 00:02:05,060 --> 00:02:08,680 Or simply, if it's not visible enough for you, we can create our custom class. 32 00:02:08,690 --> 00:02:10,100 This class is from Bulma. 33 00:02:10,160 --> 00:02:15,320 You can you can have these glasses available to you, for example, margin botto, margin top and so 34 00:02:15,320 --> 00:02:18,590 on their helper classes just to just to modify the margins. 35 00:02:19,460 --> 00:02:22,580 We can create our custom class, let's say, counter container. 36 00:02:23,270 --> 00:02:27,080 OK, so it's more visible for you to look at accounting counter container. 37 00:02:27,140 --> 00:02:28,580 Let's go down to the stylings. 38 00:02:29,640 --> 00:02:30,600 What about your style? 39 00:02:31,920 --> 00:02:38,400 All right, and attracted zero counter content, and let's say here putting off 200 pixels and what 40 00:02:38,400 --> 00:02:41,460 about your phone size of 30 pixels? 41 00:02:41,460 --> 00:02:42,870 So it's visible? 42 00:02:44,710 --> 00:02:49,140 So can I see it here, even though maybe bigger phone, let's say. 43 00:02:50,320 --> 00:02:51,160 Sixty pixels. 44 00:02:52,860 --> 00:02:54,900 So that was visible for a right, so here is a 10. 45 00:02:56,270 --> 00:02:57,650 OK, they are they are writing. 46 00:02:58,070 --> 00:03:00,560 They are getting our value 10, but let's try to increment it. 47 00:03:00,560 --> 00:03:02,090 Let's try to increase its value. 48 00:03:03,110 --> 00:03:07,430 So what they are going to do the aggregate, we will get a bottom because all on buttons they can click. 49 00:03:08,060 --> 00:03:11,000 First, I will indented it to the right side because it should be like this. 50 00:03:11,540 --> 00:03:15,440 And instead of this diff, I will create that simple button, let's say under here. 51 00:03:15,950 --> 00:03:17,690 Get a button like this. 52 00:03:19,000 --> 00:03:23,200 Battle in the battle over the tax increment increment. 53 00:03:24,910 --> 00:03:28,270 All right, and we'll have some classes. 54 00:03:28,630 --> 00:03:34,630 So stout nicely, I'll ride here, but then there is the primary, and that's enough. 55 00:03:35,530 --> 00:03:40,360 If you are wondering how I know all of his classes just from top of my head, just simply, I don't 56 00:03:40,360 --> 00:03:40,790 know them. 57 00:03:40,810 --> 00:03:45,670 I just need to search bull, my dogs battle, for example. 58 00:03:47,490 --> 00:03:53,410 OK, and you will find all you need here, all documentation or so here is as examples how to create 59 00:03:53,410 --> 00:03:56,370 the buttons or the glasses you need to provide and so on. 60 00:03:56,730 --> 00:04:02,010 And also from this documentation, I knew that margin left that six bill creates a margin on the left 61 00:04:02,010 --> 00:04:07,530 side, some margin Dash six, you can find all the classes, all the components, elements you need 62 00:04:07,530 --> 00:04:07,860 here. 63 00:04:08,280 --> 00:04:10,620 Just yeah, just take a look at this. 64 00:04:12,920 --> 00:04:17,720 OK, that's going to be that example, and it will look like an increment here, we would like to increment 65 00:04:17,720 --> 00:04:19,070 this value. 66 00:04:20,600 --> 00:04:22,980 The village is in, this is super super. 67 00:04:23,000 --> 00:04:24,620 I would really like to do much. 68 00:04:25,040 --> 00:04:26,420 Well, we can just do here. 69 00:04:26,420 --> 00:04:28,550 I will show you how for us, how we can react to the button. 70 00:04:29,030 --> 00:04:33,020 Oh, just write it on the new lines here, bill right here. 71 00:04:33,860 --> 00:04:34,490 We honor. 72 00:04:36,050 --> 00:04:41,810 This is a vote on binding, all right, there's a directive and we can directly can the RV that click 73 00:04:42,350 --> 00:04:42,860 like this? 74 00:04:43,220 --> 00:04:49,190 And let's right here like this and probably your faction for now does a vote either console.log? 75 00:04:51,190 --> 00:04:51,700 Hi, there. 76 00:04:53,740 --> 00:04:57,390 OK, on site, there should be single quotes, by the way, because they are dropping in the double 77 00:04:57,390 --> 00:05:02,790 quotes here, so you can see here in distractive ian and the they can provide a function so they can 78 00:05:02,790 --> 00:05:04,500 write here JavaScript expressions. 79 00:05:05,100 --> 00:05:07,910 OK, so now we can save it. 80 00:05:07,920 --> 00:05:11,070 You can go back here and every time I click on the. 81 00:05:12,340 --> 00:05:13,870 They increment you should see here. 82 00:05:14,530 --> 00:05:18,760 Oh, actually, I cannot act as a con. Look my mistake, I gave that to the console.log in this case 83 00:05:18,760 --> 00:05:20,410 in this function here. 84 00:05:21,160 --> 00:05:24,040 So I I'll do it differently. 85 00:05:24,040 --> 00:05:25,210 I will serve it immediately. 86 00:05:25,210 --> 00:05:28,180 I will show the other concept of of a future as you can. 87 00:05:29,110 --> 00:05:30,070 After the data. 88 00:05:31,450 --> 00:05:36,700 You can write a comma and you can probably hear methods like this in the methods, you can create a 89 00:05:36,700 --> 00:05:41,630 methods you can call from inside of your code and also from inside of your templates, for example, 90 00:05:41,630 --> 00:05:47,160 a display, display, lock or lock date that is a lock function. 91 00:05:47,170 --> 00:05:48,970 I look at the lock function it can be. 92 00:05:49,090 --> 00:05:50,500 It can have any name, of course. 93 00:05:50,740 --> 00:05:54,130 And here I go by the console.log console.log. 94 00:05:54,160 --> 00:05:57,070 Hello world, hello world. 95 00:05:58,120 --> 00:06:01,390 And I will get this lock function and a sample provided here. 96 00:06:01,480 --> 00:06:02,260 Go up here. 97 00:06:03,350 --> 00:06:06,890 And let's get here the of instead of the console.log, what about your look? 98 00:06:08,970 --> 00:06:09,390 OK. 99 00:06:10,460 --> 00:06:14,060 Not, Villa, click here on the bottom of executed look functions from. 100 00:06:15,330 --> 00:06:17,880 From efforts which will be Helloworld, let's say it. 101 00:06:18,950 --> 00:06:21,890 Refresh increment and you can see Helloworld World. 102 00:06:24,980 --> 00:06:26,900 OK, what I am, but I think also here. 103 00:06:27,950 --> 00:06:32,500 Loki, I'm basically wrapping here function in the function, so to click I am passing the function, 104 00:06:32,510 --> 00:06:37,680 which is executing the look, but we can pass here just a simple the reference of the look to the on 105 00:06:37,680 --> 00:06:41,900 the click OK to just reference the look functions and a click will execute it. 106 00:06:43,360 --> 00:06:49,170 OK, so say the same thing, Helloworld, the other simplification would be that would be donate to 107 00:06:49,210 --> 00:06:53,140 right here completely on every time because it is a very common directive. 108 00:06:53,560 --> 00:06:59,050 They can just emit amid this and you can buy here at site and then click that you have usually you'll 109 00:06:59,050 --> 00:07:02,800 see it gets a click the log and I can execute this. 110 00:07:05,650 --> 00:07:09,820 But what they want to do in our case, they would like to increase the count here. 111 00:07:10,090 --> 00:07:15,310 So what we are going to do instead of calling here are, look, our prior function. 112 00:07:17,310 --> 00:07:22,830 That bill that acts as they are this count, and it will increment it plus plus. 113 00:07:24,110 --> 00:07:24,410 OK. 114 00:07:27,670 --> 00:07:29,110 So let's save it. 115 00:07:29,320 --> 00:07:37,510 Let's go back to browser refresh and let's increment and you can see with ease so we can really no income 116 00:07:37,510 --> 00:07:39,580 and no, and this is handled for us. 117 00:07:40,150 --> 00:07:44,620 OK, so this dining dynamic updating this reactive functionality is handled by the viajes. 118 00:07:44,890 --> 00:07:50,410 So simply just by clicking on the button and incrementing the data itself, you are also updating their 119 00:07:50,410 --> 00:07:52,060 view and that's that's really amazing. 120 00:07:53,590 --> 00:07:59,110 You're the early science in this sphere, OK, so we can really increment here. 121 00:07:59,320 --> 00:08:04,420 And by the way, in a template, you can access this, but it's a little bit redundant. 122 00:08:04,420 --> 00:08:08,550 You don't need to write this, it's automatically done for you. 123 00:08:08,560 --> 00:08:11,650 So as a bit of your jazz, you can make a lot of simplifications. 124 00:08:11,650 --> 00:08:14,710 One of them is you don't really access here at this. 125 00:08:17,340 --> 00:08:19,500 But it will be nicer to have it to provide it. 126 00:08:19,920 --> 00:08:25,680 It will be to simplify that separate income faction, so have a look here and we would have increment 127 00:08:25,680 --> 00:08:33,900 function better to access this account and the increment it in the context of adjusted the need to access 128 00:08:33,900 --> 00:08:40,410 this only in the context of our template we don't need and simply here on the click Albatross Passenger 129 00:08:40,410 --> 00:08:42,630 Increment to increment the number. 130 00:08:45,470 --> 00:08:46,940 OK, increment. 131 00:08:47,810 --> 00:08:52,280 OK, that's going to be it for this lecture, just to recapitulate guys I'm using here is on board my 132 00:08:52,280 --> 00:08:57,200 classes, but my class says you can you can see on a board my documentation, so go ahead. 133 00:08:57,320 --> 00:09:01,730 Open up my documentation and find the elements, components, classes you can use. 134 00:09:02,120 --> 00:09:05,960 And yeah, try them out, such as buttons. 135 00:09:06,500 --> 00:09:10,710 Then we have learnt that we can react with that bit. 136 00:09:11,300 --> 00:09:12,720 They can react with the elements. 137 00:09:12,740 --> 00:09:21,200 We have these directives that are that are reacting to the changes of the elements, such as click events 138 00:09:21,200 --> 00:09:23,930 and other events as you'll ever learn later. 139 00:09:23,930 --> 00:09:29,120 In this case, they are using at site and the click because the directive would be on, but the need 140 00:09:29,120 --> 00:09:33,710 to apply the vision which has value added sign and the click and you can see you have a lot of them 141 00:09:33,710 --> 00:09:35,540 here available already. 142 00:09:36,440 --> 00:09:40,610 So whenever I click on the button, increment function is executed. 143 00:09:41,720 --> 00:09:47,940 Remember always when you're when you're passing here, it passes the reference of the function or when 144 00:09:47,960 --> 00:09:50,120 you want to provide the data to the function pass. 145 00:09:50,390 --> 00:09:53,780 Drop it in the arrow function and then parsing of some data you need. 146 00:09:53,810 --> 00:09:58,250 So in this case, need to do it to that, if any questions. 147 00:09:58,250 --> 00:10:00,100 So this is very important to ask here. 148 00:10:00,110 --> 00:10:01,520 So you understand everything. 149 00:10:01,730 --> 00:10:05,200 Don't forget also about the methods of anyone to call up and you want to call some. 150 00:10:05,420 --> 00:10:09,590 If I want to create some functionality, you want to call from template or from inside of your script, 151 00:10:10,070 --> 00:10:12,350 you need to get it into their methods. 152 00:10:12,930 --> 00:10:17,050 There's a simple JavaScript function, as you can see here, guys. 153 00:10:17,060 --> 00:10:18,680 It's going to be from this lecture. 154 00:10:19,460 --> 00:10:20,700 Ask if anything is not clear. 155 00:10:20,720 --> 00:10:21,920 And let's continue next one. 156 00:10:22,040 --> 00:10:22,370 Cheers. 15100

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.