{"id":297286,"date":"2020-01-17T15:00:44","date_gmt":"2020-01-17T15:00:44","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=297286"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=297286","title":{"rendered":"JavaScript \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Webix \u0433\u043b\u0430\u0437\u0430\u043c\u0438 \u043d\u043e\u0432\u0438\u0447\u043a\u0430. \u0427\u0430\u0441\u0442\u044c 2. \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u043e\u0440\u043c\u0430\u043c\u0438"},"content":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/484310\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fu\/sm\/m3\/fusmm34sg2nauzjdqk_lznmcjso.png\"><\/p>\n<p>  \u042f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0439 front-end \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0443\u0447\u0443\u0441\u044c \u0438 \u0441\u0442\u0430\u0436\u0438\u0440\u0443\u044e\u0441\u044c \u0432 \u043e\u0434\u043d\u043e\u0439 \u043c\u0438\u043d\u0441\u043a\u043e\u0439 IT \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438. \u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0441\u043d\u043e\u0432 web-ui \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 JS \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <a href=\"https:\/\/webix.com\/\" rel=\"nofollow\">Webix<\/a> \u0438 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0432\u0438\u0434\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0443\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u043e\u0431\u0438\u044f \u043f\u043e \u044d\u0442\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 UI \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>\u0412\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430<\/h3>\n<p>  \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u043c <a href=\"https:\/\/habr.com\/ru\/post\/483558\/\">\u0437\u0430\u0434\u0430\u043d\u0438\u0438<\/a> \u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Webix. \u0410 \u0441\u0435\u0439\u0447\u0430\u0441 \u043c\u043d\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 \u0444\u043e\u0440\u043c\u043e\u0439:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.webix.com\/api__values_getvalues.html\" rel=\"nofollow\">\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435<\/a> \u0438 <a href=\"https:\/\/docs.webix.com\/desktop__data_validation.html\" rel=\"nofollow\">\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/a> \u0444\u043e\u0440\u043c\u044b;<\/li>\n<li><a href=\"https:\/\/docs.webix.com\/api__values_clear.html\" rel=\"nofollow\">\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0444\u043e\u0440\u043c\u044b<\/a>;<\/li>\n<li><a href=\"https:\/\/docs.webix.com\/api__link__ui.proto_click_config.html\" rel=\"nofollow\">\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043a\u043b\u0438\u043a\u043e\u0432<\/a> \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0430\u043c;<\/li>\n<li><a href=\"https:\/\/docs.webix.com\/desktop__message_boxes.html\" rel=\"nofollow\">\u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f<\/a> \u0438 <a href=\"https:\/\/docs.webix.com\/api___confirm.html\" rel=\"nofollow\">\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435<\/a>;<\/li>\n<li><a href=\"https:\/\/docs.webix.com\/api__link__ui.proto_add.html\" rel=\"nofollow\">\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445<\/a> \u0444\u043e\u0440\u043c\u044b \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443.<\/li>\n<\/ul>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0432\u0438\u0434\u0436\u0435\u0442 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u2014 <b>\u0444\u043e\u0440\u043c\u0430<\/b>. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e \u043d\u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/docs.webix.com\/desktop__form.html\" rel=\"nofollow\">\u0443\u0437\u043d\u0430\u0442\u044c<\/a>.<\/p>\n<p>  \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e <a href=\"https:\/\/github.com\/sashko-web\/webix\/tree\/master\/Webix%20first%20task\" rel=\"nofollow\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a>. <\/p>\n<p>  \u0421 \u0434\u0435\u043c\u043e-\u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u0430 \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f <a href=\"https:\/\/snippet.webix.com\/17w1dodb\" rel=\"nofollow\">\u0442\u0443\u0442<\/a>.<\/p>\n<h3>\u0428\u0430\u0433 1. \u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443.<\/h3>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0431\u043b\u043e\u043a\u0438, \u044f \u0441\u043e\u0437\u0434\u0430\u043c \u0444\u0430\u0439\u043b functions.js \u0438 \u0443\u043a\u0430\u0436\u0443 \u043a \u043d\u0435\u043c\u0443 \u043f\u0443\u0442\u044c \u0432 \u0444\u0430\u0439\u043b\u0435 index.html. \u0412 \u043d\u0435\u043c \u044f \u0431\u0443\u0434\u0443 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0435 \u0437\u0430 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"xml\">&lt;body&gt;     &lt;script src=&quot;data.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;functions.js&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;script.js&quot;&gt;&lt;\/script&gt; &lt;\/body&gt; <\/code><\/pre>\n<p>  \u0412 \u043d\u043e\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e <b>addItem<\/b>, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0449\u0443\u044e \u043d\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443:<\/p>\n<pre><code class=\"javascript\">const addItem = () =&gt;{                                                            var item_data = $$(&quot;film_form&quot;).getValues();     $$(&quot;film_list&quot;).add(item_data); } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043f\u043e <b>id<\/b> \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 Webix \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <b>\u043c\u0435\u0442\u043e\u0434 $$<\/b>, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f id \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u0412 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c \u0432\u044b\u0448\u0435 \u043a\u043e\u0434\u0435 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0444\u043e\u0440\u043c\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u2014 <code><b>$$(&quot;film_form&quot;)<\/b><\/code>.  <\/p>\n<blockquote><p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f <i>addItem<\/i> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a: \u041f\u043e\u043b\u0443\u0447\u0430\u044e \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0444\u043e\u0440\u043c\u044b \u0447\u0435\u0440\u0435\u0437 \u0435\u0435 <a href=\"https:\/\/docs.webix.com\/api__values_getvalues.html\" rel=\"nofollow\">\u043c\u0435\u0442\u043e\u0434 getValues<\/a> \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044e \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <b>item_data<\/b>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435, \u0441\u043e\u0437\u0434\u0430\u044e \u043d\u043e\u0432\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u043b\u0438\u0441\u0442\u0435 <a href=\"https:\/\/docs.webix.com\/api__link__ui.proto_add.html\" rel=\"nofollow\">\u043c\u0435\u0442\u043e\u0434\u043e\u043c add<\/a>.  <\/p><\/blockquote>\n<p>  \u0414\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u0432 \u0432\u0438\u0434\u0436\u0435\u0442 <code><b>&quot;button&quot;<\/b><\/code> \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c <code>&quot;Add new&quot;<\/code> \u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <a href=\"https:\/\/docs.webix.com\/api__link__ui.proto_click_config.html\" rel=\"nofollow\">click<\/a>.<\/p>\n<pre><code class=\"javascript\">margin:10, cols:[     { view:&quot;button&quot;, id:&quot;btn_add&quot;, value:&quot;Add new&quot;, css:&quot;webix_primary&quot;,     click:addItem},     { view:&quot;button&quot;, id:&quot;btn_clear&quot;, value:&quot;Clear&quot;}  ] <\/code><\/pre>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435, \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0434\u043e\u043b\u0436\u043d\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u00a0\u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0444\u043e\u0440\u043c\u044b:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dw\/3j\/sc\/dw3jsclc_mapg-xxeifw5velyju.png\"><\/p>\n<h3>\u0428\u0430\u0433 2. \u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0444\u043e\u0440\u043c\u044b. \u0412\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043d\u043e\u0432\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0438\u0437 \u043f\u043e\u043b\u0435\u0439 \u0432\u0432\u043e\u0434\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043f\u0440\u043e\u0439\u0442\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 (\u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e). \u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f <a href=\"https:\/\/docs.webix.com\/desktop__data_validation.html\" rel=\"nofollow\">\u043c\u0435\u0442\u043e\u0434\u043e\u043c validate()<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043f\u0440\u0438\u0432\u044f\u0436\u0443 \u043a \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <b>addItem<\/b> \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u043d\u0430 \u0443\u0441\u043f\u0435\u0445. \u0421\u044e\u0434\u0430 \u0436\u0435 \u043f\u043e\u043c\u0435\u0449\u0443 \u043a\u043e\u0434 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u043e\u0439 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 Webix \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 <a href=\"https:\/\/docs.webix.com\/desktop__message_boxes.html\" rel=\"nofollow\">webix.message()<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0442\u0435\u043a\u0441\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f. \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0433\u043b\u0443.<\/p>\n<pre><code class=\"javascript\">const addItem = () =&gt;{             if($$(&quot;film_form&quot;).validate()){                                                        var item_data = $$(&quot;film_form&quot;).getValues();         $$(&quot;film_list&quot;).add(item_data);             webix.message(&quot;Validation is successful!&quot;);     } } <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a. \u0423\u0441\u043b\u043e\u0432\u0438\u0435 <b>If<\/b> \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u0444\u043e\u0440\u043c\u0435 \u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 <b>validate()<\/b>. \u0415\u0441\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0440\u0430\u0432\u043d\u043e true, \u043a\u043e\u0434 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435. \u041f\u043e\u0441\u043b\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c \u2014 <code>&quot;Validation is successful!&quot;<\/code>.  <\/p><\/blockquote>\n<p>  \u0412\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/cv\/0r\/nj\/cv0rnj0qoulwycax8bg-zqfnqd8.png\"><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 <a href=\"https:\/\/docs.webix.com\/desktop__data_validation.html#validationrules\" rel=\"nofollow\">rules<\/a> \u0432 \u0432\u0438\u0434\u0436\u0435\u0442\u0435 <i>\u00ab\u0444\u043e\u0440\u043c\u0430\u00bb<\/i>. \u041e\u043d \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c, \u0447\u0442\u043e\u0431\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u044f <b>validate()<\/b> \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438\u0437 \u0432\u0441\u0435\u0445 \u043f\u043e\u043b\u0435\u0439 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u044f\u043c.<\/p>\n<p>  \u0423\u0441\u043b\u043e\u0432\u0438\u044f \u0434\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435:  <\/p>\n<ul>\n<li> \u043f\u043e\u043b\u0435 Title \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c;<\/li>\n<li> \u043f\u043e\u043b\u0435 Year \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 1970 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0433\u043e\u0434\u0430;<\/li>\n<li> \u043f\u043e\u043b\u0435 Rating \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043d\u0443\u043b\u0435\u043c;<\/li>\n<li> \u043f\u043e\u043b\u0435 Votes \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 1 \u0438 \u043c\u0435\u043d\u044c\u0448\u0435 1000000.<\/li>\n<\/ul>\n<p>  \u0422\u043e\u0433\u0434\u0430, \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0438\u0434\u0436\u0435\u0442\u0430 <i>\u00ab\u0444\u043e\u0440\u043c\u0430\u00bb<\/i> \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0438\u043c:<\/p>\n<pre><code class=\"javascript\">view:&quot;form&quot;, id:'film_form', width: 350, elements:[     { type:&quot;section&quot;, template:&quot;EDIT FILMS&quot;},     { view:&quot;text&quot;, name:&quot;title&quot;, label:&quot;Title&quot;,      invalidMessage:&quot;Must be filled in&quot;},     { view:&quot;text&quot;, name:&quot;year&quot;, label:&quot;Year&quot;,      invalidMessage:&quot;Should be between 1970 and current&quot; },     { view:&quot;text&quot;, name:&quot;rating&quot;, label:&quot;Rating&quot;,     invalidMessage:&quot;Cannot be empty or 0&quot; },     { view:&quot;text&quot;, name:&quot;votes&quot;, label:&quot;Votes&quot;,      invalidMessage:&quot;Must be less than 100000&quot; },      {         margin:10, cols:[             { view:&quot;button&quot;, id:&quot;btn_add&quot;, value:&quot;Add new&quot;,              css:&quot;webix_primary&quot;, click:addItem},             { view:&quot;button&quot;, id:&quot;btn_clear&quot;, value:&quot;Clear&quot;,              click:clearForm}         ]     },     {} ], rules:{     title: webix.rules.isNotEmpty,     rating:function(value){         if(webix.rules.isNumber(value)!=0){             return true;         }     },     votes: function(value){         return webix.rules.isNumber(value) &lt; 1000000 &amp;&amp;          webix.rules.isNumber(value) &gt;= 1;     },     year: function(value){         return value&gt;=1970 &amp;&amp; value &lt;= new Date();     } } <\/code><\/pre>\n<p>  \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 rules \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 <code><b>name: &quot;\u2026&quot;<\/b><\/code> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 elements. \u0412 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u0445 title, rating \u0438 votes \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b <a href=\"https:\/\/docs.webix.com\/desktop__data_validation.html#predefinedrules\" rel=\"nofollow\">\u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430<\/a> webix.rules.isNotEmpty \u0438 webix.rules.isNumber, \u0432 year \u0441\u0442\u043e\u0438\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0430\u044f <a href=\"https:\/\/docs.webix.com\/desktop__data_validation.html#customrules\" rel=\"nofollow\">\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430<\/a>.<\/p>\n<p>  \u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c true \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0441\u043f\u0435\u0445\u0430 \u0438 false \u043f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0435. \u0424\u043e\u0440\u043c\u0430 \u043f\u0440\u043e\u0439\u0434\u0435\u0442 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 rules \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u044f\u0442 true. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u044f \u043d\u0435 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0438\u0435 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0435\u043d\u044b \u043a\u0440\u0430\u0441\u043d\u044b\u043c.<\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438: <br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zs\/cy\/cx\/zscycxjvs2jnjc6suvf7lls2-im.png\"><\/p>\n<h3>\u0428\u0430\u0433 3. \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435<\/h3>\n<p>  \u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0437\u0430\u0434\u0430\u043d\u044b, \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0435\u0434\u043e\u043c\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0447\u0442\u043e \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u044f\u043c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435.<\/p>\n<p>  \u0423 \u043f\u043e\u043b\u0435\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <a href=\"https:\/\/docs.webix.com\/api__link__ui.texthighlight_invalidmessage_config.html\" rel=\"nofollow\">invalidMessage<\/a>, \u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2014 \u0442\u0435\u043a\u0441\u0442 \u0441 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435. \u042d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043f\u043e\u0434 \u043f\u043e\u043b\u0435\u043c, \u0435\u0441\u043b\u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043d\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u0430.<\/p>\n<p>  \u041a\u043e\u0434:  <\/p>\n<pre><code class=\"javascript\">elements:[     { type:&quot;section&quot;, template:&quot;EDIT FILMS&quot;},     { view:&quot;text&quot;, name:&quot;title&quot;, label:&quot;Title&quot;,      invalidMessage:&quot;Must be filled in&quot;},     { view:&quot;text&quot;, name:&quot;year&quot;, label:&quot;Year&quot;,      invalidMessage:&quot;Should be between 1970 and current&quot; },     { view:&quot;text&quot;, name:&quot;rating&quot;, label:&quot;Rating&quot;,      invalidMessage:&quot;Cannot be empty or 0&quot; },     { view:&quot;text&quot;, name:&quot;votes&quot;, label:&quot;Votes&quot;,      invalidMessage:&quot;Must be less than 100000&quot; },      {         margin:10, cols:[             { view:&quot;button&quot;, id:&quot;btn_add&quot;, value:&quot;Add new&quot;,              css:&quot;webix_primary&quot;, click:addItem},             { view:&quot;button&quot;, id:&quot;btn_clear&quot;, value:&quot;Clear&quot;,              click:clearForm}         ]     },     {} ] <\/code><\/pre>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/t9\/l0\/kd\/t9l0kdtmzyg4jezz03ta-vjkctq.png\"><\/p>\n<h3>\u0428\u0430\u0433 4. \u041e\u0447\u0438\u0441\u0442\u043a\u0430 \u0444\u043e\u0440\u043c\u044b<\/h3>\n<p>  \u0414\u043b\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u0444\u043e\u0440\u043c\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u043d\u043e\u043f\u043a\u043e\u0439 <code>&quot;Clear&quot;<\/code>. \u041e\u043d\u0430 \u0436\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0432\u044b\u0432\u043e\u0434 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u044e\u0449\u0435\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0442\u0432\u0435\u0442\u0430 \u0441\u043e\u0442\u0440\u0435\u0442 \u0432\u043d\u0435\u0441\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0441\u0431\u0440\u043e\u0441\u0438\u0442 \u0438\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u044e \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445.<\/p>\n<p>  \u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u044e\u0449\u0435\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ck\/yq\/nd\/ckyqnddkxn5e2ru_dekxv3r6z-e.png\"><\/p>\n<p>  \u041d\u0430\u0437\u043e\u0432\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <b>clearForm<\/b> \u0438 \u0437\u0430\u043f\u0438\u0448\u0443 \u0432 \u043d\u0435\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code class=\"javascript\">function clearForm(){     webix.confirm({         title:&quot;All data will be lost!&quot;,         text:&quot;Are you sure?&quot;     }).then(         function(){             $$(&quot;film_form&quot;).clear();             $$(&quot;film_form&quot;).clearValidation();         } )}; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043e\u043a\u043d\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f callback-\u043c\u0435\u0442\u043e\u0434 <a href=\"https:\/\/docs.webix.com\/api___confirm.html\" rel=\"nofollow\">webix.confirm({\u2026})<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b: \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u2014 text \u0438 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 <b>title<\/b>. \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 promise, \u044f \u043c\u043e\u0433\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a <b>.then<\/b>. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u043e\u0442\u0432\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c, \u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0435 .then \u044f \u0432\u044b\u0437\u043e\u0432\u0443 \u0434\u0432\u0430 \u043c\u0435\u0442\u043e\u0434\u0430: clear() \u2014 \u0434\u043b\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u043f\u043e\u043b\u0435\u0439 \u0444\u043e\u0440\u043c\u044b, \u0438 clearValidation(), \u0443\u0431\u0438\u0440\u0430\u044e\u0449\u0438\u0439 \u043c\u0435\u0442\u043a\u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438.<\/p>\n<p>  \u0417\u0430\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u0432\u044b\u0437\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043a \u043a\u043d\u043e\u043f\u043a\u0435 <code>&quot;Clear&quot;<\/code>.<\/p>\n<pre><code class=\"javascript\">margin:10, cols:[     { view:&quot;button&quot;, id:&quot;btn_add&quot;, value:&quot;Add new&quot;,      css:&quot;webix_primary&quot;, click:addItem},     { view:&quot;button&quot;, id:&quot;btn_clear&quot;, value:&quot;Clear&quot;,     click:clearForm} ] <\/code><\/pre>\n<p>  \u041a\u043e\u0434 \u0438 \u0434\u0435\u043c\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0443\u0442 \u2014 <a href=\"https:\/\/snippet.webix.com\/17w1dodb\" rel=\"nofollow\">snippet.webix.com\/17w1dodb<\/a>.<\/p>\n<h3>\u041e\u0431\u043e\u0431\u0449\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u041f\u043e \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0443 \u0431\u044b\u043b\u043e \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043a\u043e\u0434 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439, \u043d\u043e \u0441 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442\u0441\u044f, \u0430 \u0435\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u0442\u044c\u0441\u044f \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0441\u0442\u0438 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430, \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0430\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c \u0432 \u0435\u0433\u043e \u0447\u0442\u0435\u043d\u0438\u0438 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0443 \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435. \u041f\u0440\u0438\u043c\u0435\u0440 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0444\u043e\u0440\u043c\u043e\u0439 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043b\u0438\u0448\u044c \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b, \u043d\u043e \u0438 \u0438\u0437 \u043d\u0438\u0445 \u0437\u0430\u043c\u0435\u0442\u043d\u043e, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u0440\u0438\u0434\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u0438 webix \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0439 \u0438 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u043a\u043e\u0434. \u0415\u0441\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c \u0441 \u0447\u0438\u0441\u0442\u044b\u043c JavaScript, \u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043c \u0432 \u043b\u0443\u0447\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b\u0441\u044f \u0431\u044b \u0432\u0434\u0432\u043e\u0435.<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/484310\/\"> https:\/\/habr.com\/ru\/post\/484310\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/484310\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fu\/sm\/m3\/fusmm34sg2nauzjdqk_lznmcjso.png\"><\/p>\n<p>  \u042f \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0439 front-end \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a. \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0443\u0447\u0443\u0441\u044c \u0438 \u0441\u0442\u0430\u0436\u0438\u0440\u0443\u044e\u0441\u044c \u0432 \u043e\u0434\u043d\u043e\u0439 \u043c\u0438\u043d\u0441\u043a\u043e\u0439 IT \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438. \u0418\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u043e\u0441\u043d\u043e\u0432 web-ui \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 JS \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <a href=\"https:\/\/webix.com\/\" rel=\"nofollow\">Webix<\/a> \u0438 \u044f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0432\u0438\u0434\u0435 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0443\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u043f\u043e\u0441\u043e\u0431\u0438\u044f \u043f\u043e \u044d\u0442\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 UI \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-297286","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/297286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=297286"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/297286\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=297286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=297286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=297286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}