text: webpackJsonp([55],{KYBx:function(n,a){},dopT:function(n,a,s){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={name:"ContentComponentNestExamples",data:function(){return{kucings:[{nama:"Komaru",spesial:"JavaScript",showSpesial:!1},{nama:"Chataro",spesial:"TypeScript",showSpesial:!1},{nama:"Unagi",spesial:"Angular",showSpesial:!1},{nama:"Suzume",spesial:"Vue",showSpesial:!1},{nama:"Kinako",spesial:"jQuery",showSpesial:!1},{nama:"Bomangcho",spesial:"CSS",showSpesial:!1}]}},methods:{showHideSpesial:function(n){var a=this,s=n,i=!n.showSpesial;s.showSpesial=i,this.kucings.forEach(function(n,i){n.nama===s.nama&&(a.kucings[i]=s)})},getContentArrayKucing:function(n){console.log(n)},showHideSpesialArrays:function(n){var a=n,s=this.kucings.findIndex(function(n){return a.nama===n.nama}),i=!n.showSpesial;a.showSpesial=i,-1!==s&&this.kucings.splice(s,1,a)},hapusArrayDimaksud:function(n){this.kucings.splice(n,1)},editArrayYangDimaksud:function(n,a){var s=!n.showSpesial,i=n;i.showSpesial=s,this.kucings.splice(a,1,i)}},computed:{}},e={render:function(){var n=this,a=n.$createElement,s=n._self._c||a;return s("div",{attrs:{id:"kucingninja"}},[s("ul",n._l(n.kucings,function(a,i){return s("li",{on:{click:function(s){n.showHideSpesial(a)}}},[s("h2",[n._v(n._s(a.nama))]),n._v(" "),s("h3",{directives:[{name:"show",rawName:"v-show",value:a.showSpesial,expression:"kucing.showSpesial"}]},[n._v(n._s(a.spesial))]),n._v(" "),s("button",{on:{click:function(s){n.getContentArrayKucing(a)}}},[n._v("Get Content Kucing")])])})),n._v(" "),s("p",[n._v("Dengan Menggunakan Fungsi Splice")]),n._v(" "),s("div",[s("ul",n._l(n.kucings,function(a,i){return s("li",{key:a.nama},[s("h2",[n._v(n._s(a.nama))]),n._v(" "),s("h3",{directives:[{name:"show",rawName:"v-show",value:a.showSpesial,expression:"kucing.showSpesial"}]},[n._v(n._s(a.spesial))]),n._v(" "),s("button",{on:{click:function(a){n.hapusArrayDimaksud(i)}}},[n._v("Hapus Ini")]),n._v(" "),s("button",{on:{click:function(s){n.showHideSpesialArrays(a)}}},[n._v("Edit Array")])])}))])])},staticRenderFns:[]};var o=s("VU/8")(i,e,!1,function(n){s("KYBx")},"data-v-36aba016",null);a.default=o.exports}});
  //# sourceMappingURL=55.8f1725a51627a290f90c.js.map