MwyVWP ('-' * 6)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<div v-for="(v, i) in fliterTagList"> | |
<div>{{ v.label }}</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"> | |
<div v-for="(v, i) in fliterTagList"> | |
<div>{{ v.label }}</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="header"> | |
<h1><a href="/">www.ni4.jp</a></h1> | |
<div class="mode-change"> | |
<input type="checkbox" name="view-mode" id="view-mode"> | |
<label for="view-mode">mode: </label> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// true が dark mode | |
// false が normal mode | |
function getMode(type) { | |
const $body = $('body'); | |
// typeの引数でonとoffを判別 | |
const check = type ? 'on' : 'off'; | |
type ? $body.addClass('dark') : $body.addClass('light'); | |
type ? $body.removeClass('light') : $body.removeClass('dark'); | |
$('input[name="view-mode"]').prop('checked', type); | |
$.cookie(type, check, { expires: 365, path:'/'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- <div class="table-wrap"> | |
<table> | |
<tr> | |
<th>テスト</th> | |
<th>テスト</th> | |
<th>テスト</th> | |
<th>テスト</th> | |
<th>テスト</th> | |
<th>テスト</th> | |
<th>テスト</th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>マルチフィールドのサンプルコード(Vue.jsを使った例)</title> | |
<!-- UIkit CSS --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.23/css/uikit.min.css" /> | |
<!-- UIkit JS --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.23/js/uikit.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>マルチフィールドのサンプルコード(mt:Foreachを使った例)</title> | |
<!-- UIkit CSS --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.23/css/uikit.min.css" /> | |
<!-- UIkit JS --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/uikit/3.0.0-rc.23/js/uikit.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mt:Ignore>記事のコンポーネント</mt:Ignore> | |
<mt:SetVarTemplate name="_base_entries" key="entries" note="記事のコンポーネント"> | |
<mt:Loop name="entries"> | |
<mt:If name="__first__"> | |
<ul> | |
</mt:If> | |
<a href="<mt:Var name="_link" /><mt:Var name="_date" />:<mt:Var name="_title" /></a> | |
<mt:If name="__last__"> | |
<ul> | |
</mt:If> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="js-switch"> | |
<ul> | |
<li> | |
<input name="radio" class="radio" type="radio" id="radio01" value="" data-radio=".change01" checked> | |
<label for="radio01">switch01</label> | |
</li> | |
<li> | |
<input name="radio" class="radio" type="radio" id="radio02" value="" data-radio=".change02"> | |
<label for="radio02">switch02</label> | |
</li> |
NewerOlder