Welcome to IOPWiki, Commander.
We are searching for new editors to keep track of Girls' Frontline 2 content, as well as veteran players to complete the data of Girls' Frontline and Project Neural Cloud characters.
You can contribute without an account. Learn how to contribute and join our Discord server.

Widget:Live2DSwitcher: Difference between revisions

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 8: Line 8:
       var container = $(val);
       var container = $(val);
       var doll = container.data('t-doll');
       var doll = container.data('t-doll');
      console.log("Setting up doll", doll, container);
       mw.loader.using('ext.gadget.live2d').then(function() {
       mw.loader.using('ext.gadget.live2d').then(function() {
         var ul = container.find('ul').first();
         var ul = container.find('ul').first();
         var settings = gfUtils.live2dUtils.convertSettingsFromUl(ul);
         var settings = gfUtils.live2dUtils.convertSettingsFromUl(ul);
         console.log("Filling the select...", container, ul, settings);
         console.log("Found this entry", ul);
        console.log("And converted it to", settings);
         for (costume in settings) {
         for (costume in settings) {
           for (variant in costume) {
           for (variant in costume) {

Revision as of 15:45, 15 September 2018