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
m Waiting for different gadget
Waiting to be triggered
Line 7: Line 7:
       var container = $(val);
       var container = $(val);
       var doll = container.data('t-doll');
       var doll = container.data('t-doll');
       mw.loader.using('ext.gadget.live2dDollAnimation').then(function() {
        
      container.on("live2dloaded", function(event) {
         container.find('.live2dswitcher option').remove();
         container.find('.live2dswitcher option').remove();
         var settingsContainer = container.find('.live2dsettings').first();
         var settingsContainer = container.find('.live2dsettings').first();
Line 54: Line 55:
<option value="" selected="selected">Loading...</option>
<option value="" selected="selected">Loading...</option>
</select></div></includeonly><noinclude>
</select></div></includeonly><noinclude>
<div class="dollLive2d" data-t-doll="Thompson" data-costume="costume1" style="height: 800px; width: 700px;">
<div class="dollLive2d" data-live2d-needed="true" data-t-doll="Thompson" data-costume="costume1" style="height: 800px; width: 700px;">
{{#widget:Live2DSwitcher}}
{{#widget:Live2DSwitcher}}
<div class="live2dsettings" style="display:none">{{:Thompson/Live2DSettings}}</div>
<div class="live2dsettings" style="display:none">{{:Thompson/Live2DSettings}}</div>
</div>
</div>
</noinclude>
</noinclude>

Revision as of 23:49, 28 June 2019