{"id":8680,"date":"2017-03-02T10:45:54","date_gmt":"2017-03-02T01:45:54","guid":{"rendered":"http:\/\/sitest.jp\/blog\/?p=8680"},"modified":"2017-03-02T10:40:16","modified_gmt":"2017-03-02T01:40:16","slug":"%e6%9c%80%e9%80%9f%e6%9c%80%e8%bb%bd%e9%87%8f%e3%81%aejavascript%e3%83%95%e3%83%ac%e3%83%bc%e3%83%a0%e3%83%af%e3%83%bc%e3%82%af%e3%80%8cvanilla-js%e3%80%8d%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf","status":"publish","type":"post","link":"https:\/\/sitest.jp\/blog\/?p=8680","title":{"rendered":"\u6700\u901f\u6700\u8efd\u91cf\u306eJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300cVanilla JS\u300d\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046\uff01"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30d7\u30ed\u30c0\u30af\u30c8\u958b\u767a\u30c1\u30fc\u30e0\u306e\u7267\u3067\u3059\u3002<\/p>\n<p>\u7686\u69d8\u306fJavaScript\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u4f55\u3092\u4f7f\u308f\u308c\u3066\u3044\u308b\u3067\u3057\u3087\u3046\u304b\uff1f<br \/>\n\u3088\u304f\u540d\u524d\u3092\u805e\u304f\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3057\u3066\u306fjQuery\u3084AngularJS\u3001Vue.js\u3001React\u306a\u3069\u304c\u3042\u308a\u3001\u3053\u308c\u3089\u4ee5\u5916\u306b\u3082\u69d8\u3005\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u958b\u767a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305d\u3053\u3067\u4eca\u56de\u306f\u3001\u6700\u901f\u304b\u3064\u6700\u8efd\u91cf\u306eJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308bVanilla JS\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">Vanilla JS\u3068\u306f<\/h3>\n<\/div>\n<p><img loading=\"lazy\" src=\"https:\/\/storage.googleapis.com\/sitest-wp\/blog\/wp-content\/uploads\/2017\/02\/Vanilla_JS_top.png\" alt=\"Vanilla_JS_top\" width=\"772\" height=\"304\" class=\"alignnone size-full wp-image-8694\" \/><br \/>\n<a rel=\"nofollow\" target=\"_blank\" href=\"http:\/\/vanilla-js.com\/\">Vanilla JS<\/a>\u3068\u306f\u3001\u9ad8\u901f\u3067\u8efd\u91cf\u306a\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<br \/>\nGoogle \u3084Facebook \u3001Wikipedia \u306a\u3069\u4e16\u754c\u6709\u6570\u306e\u5927\u624b\u30b5\u30a4\u30c8\u3067\u3082\u5fc5\u305a\u3068\u8a00\u3063\u3066\u3044\u3044\u307b\u3069\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001<a rel=\"nofollow\" target=\"_blank\" href=\"http:\/\/vanilla-js.com\/\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a>\u304b\u3089\u5fc5\u8981\u306a\u3082\u306e\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n<img loading=\"lazy\" src=\"https:\/\/storage.googleapis.com\/sitest-wp\/blog\/wp-content\/uploads\/2017\/02\/Vanilla_JS_download.png\" alt=\"Vanilla_JS_download\" width=\"780\" height=\"437\" class=\"alignnone size-full wp-image-8695\" \/><\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fJavaScript\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u3068\u3066\u3082\u30b9\u30c3\u30ad\u30ea\u3057\u3066\u3044\u3066\u6c17\u6301\u3061\u3044\u3044\u3067\u3059\u306d\u3002<br \/>\n<img loading=\"lazy\" src=\"https:\/\/storage.googleapis.com\/sitest-wp\/blog\/wp-content\/uploads\/2017\/02\/Desktop_vanilla_js.png\" alt=\"__Desktop_vanilla_js\" width=\"753\" height=\"553\" class=\"alignnone size-full wp-image-8696\" \/><\/p>\n<p>\u666e\u901a\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306a\u3089\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u30bf\u30b0\u3067\u8aad\u307f\u8fbc\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001Vanilla JS\u3067\u306f\u305d\u306e\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<pre><code>&lt;script src=\"path\/to\/vanilla.js\"&gt;&lt;\/script&gt;<\/code><\/pre>\n<p>\u305d\u308c\u3067\u306f\u65e9\u901f\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n<pre><code class=\"javascript\">\/\/ ID\u306e\u4ed8\u3044\u305f\u8981\u7d20\u3092\u53d6\u5f97\nvar element = document.getElementById(\"ID\");\n\n\/\/ p\u8981\u7d20\u3092body\u5185\u306b\u633f\u5165\nvar p = document.createElmenet(\"p\");\np.innerText = \"Hello World!\";\ndocument.body.appendChild(p);\n<\/code><\/pre>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">Vanilla JS\u3068\u3044\u3046\u9078\u629e\u80a2<\/h3>\n<\/div>\n<p>\u3053\u3053\u307e\u3067\u8aad\u307e\u308c\u305f\u65b9\u306f\u65e2\u306b\u304a\u6c17\u3065\u304d\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001<br \/>\nVanilla JS\u306f\u30cd\u30a4\u30c6\u30a3\u30d6\u306eJavaScript API\u305d\u306e\u3082\u306e\u3067\u3059\u3002<br \/>\n\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u9032\u5316\u3060\u3051\u3067\u306a\u304f\u3001<br \/>\nJavaScript\u305d\u306e\u3082\u306e\u3082\u307e\u305f\u9032\u5316\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>jQuery\u3084\u5404\u7a2e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u3068\u3066\u3082\u4fbf\u5229\u3067\u3059\u304c\u3001<br \/>\n\u305d\u306e\u5206\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u72a0\u7272\u306b\u3057\u3066\u3044\u308b\u90e8\u5206\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3082\u3061\u308d\u3093\u3001\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u5dee\u7570\u3092\u5438\u53ce\u3057\u3066\u304f\u308c\u308b\u305f\u3081\u5fc5\u8981\u306a\u5834\u5408\u306f\u591a\u3005\u3042\u308a\u307e\u3059\u304c\u3001\u672c\u5f53\u306b\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u91cd\u8996\u306a\u90e8\u5206\u3067\u306f\u30cd\u30a4\u30c6\u30a3\u30d6\u306eJavaScript API\u3092\u305d\u306e\u307e\u307e\u66f8\u304f\u3053\u3068\u304c\u4e00\u756a\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u6280\u8853\u9078\u5b9a\u306b\u304a\u3044\u3066\u3001\u30d7\u30ec\u30fc\u30f3\u306bJavaScript\u3092\u66f8\u304f\u3068\u3044\u3046\u3053\u3068\u306f<br \/>\n\u5341\u5206\u9078\u629e\u80a2\u306e\u4e00\u3064\u3068\u306a\u308a\u3048\u307e\u3059\u3002<br \/>\n\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u6ea2\u308c\u3066\u3044\u308b\u4eca\u3060\u304b\u3089\u3053\u305d\u3001<br \/>\n\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3067\u307b\u3093\u3068\u3046\u306b\u5fc5\u8981\u306a\u3082\u306e\u306f\u4f55\u304b\u3092\u8003\u3048\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30d7\u30ed\u30c0\u30af\u30c8\u958b\u767a\u30c1\u30fc\u30e0\u306e\u7267\u3067\u3059\u3002 \u7686\u69d8\u306fJavaScript\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u4f55\u3092\u4f7f\u308f\u308c\u3066\u3044\u308b\u3067\u3057\u3087\u3046\u304b\uff1f \u3088\u304f\u540d\u524d\u3092\u805e\u304f\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3057\u3066\u306fjQuery\u3084AngularJS\u3001Vue.js\u3001React\u306a\u3069\u304c\u3042\u308a\u3001\u3053\u308c\u3089\u4ee5\u5916\u306b\u3082\u69d8\u3005\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u958b\u767a\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u305d\u3053\u3067\u4eca\u56de\u306f\u3001\u6700\u901f\u304b\u3064\u6700\u8efd\u91cf\u306eJavaScript\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3042\u308bVanilla JS\u3092\u3054 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8699,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27],"tags":[],"acf":false,"_links":{"self":[{"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/posts\/8680"}],"collection":[{"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/comments?post=8680"}],"version-history":[{"count":13,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/posts\/8680\/revisions"}],"predecessor-version":[{"id":8812,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/posts\/8680\/revisions\/8812"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/media\/8699"}],"wp:attachment":[{"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/media?parent=8680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/categories?post=8680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/tags?post=8680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}