$.bulma = ($state.urlparams.bulma == null || $state.urlparams.bulma) ? true : false; $.optionsmodal = false; if ($state.urlparams.codeid == null) { $.codetext = //@hibiki/get-session-storage(key="hibiki-playground-content"); } else { $.codetext = //@local/load-codeid(codeid=$state.urlparams.codeid); }; if ($.codetext == null || fn:trim($.codetext) == "") { $.codetext = //@local/load-codeid(codeid="default"); } //@lib-play/make-iframe(text=$.codetext, bulma=$.bulma);
@url = '/codeid/' + @data.codeid + '.html'; @blob = callhandler(@url=@url); setreturn(fn:blobastext(@blob));
//@hibiki/set-session-storage(key='hibiki-playground-content', value=$.codetext); //@hibiki/set-session-storage(key='hibiki-playground-bulma', value=$.bulma); //@hibiki/update-url(codeid=null, bulma=($.bulma ? null : false), @replace=true); //@lib-play/make-iframe(text=$.codetext, bulma=$.bulma);
🌸 Hibiki HTML Playground
{{ $.bulma ? "Use" : "No" }} Bulma CSS