<html lang="ja">
<head>
<meta charset="UTF-8">
<meta content="width=device-width" name="viewport">
<title>Translate Attribute Test - dskd</title>
</head>
<body>
<h1 id="can-translate-service-understands-translate-attribute">Can translate service understands '<span translate="no">translate</span>' attribute?</h1>
<p>Below <span class="elem"><div></span> element has '<span translate="no">translate=no</span>'.</p>
<div translate="no" class="target">[11:34:21] Using gulpfile ~/develop/mbrs/test-yargs/gulpfile.js [11:34:21] Starting 'test'... { _: [ 'test' ], name: 'oti', male: true, female: 'false', 'rain bringer': true, note: 'oti is not real name.', '$0': '/Users/tkg/.nodebrew/current/bin/gulp' } [11:34:21] Finished 'conslog' after 1.83 ms</div>
<div class="border"></div>
<p>Below <span class="elem"><code></span> element has '<span translate="no">translate=no</span>'.</p>
<p><code translate="no" class="target">[11:34:21] Using gulpfile ~/develop/mbrs/test-yargs/gulpfile.js
[11:34:21] Starting 'test'...
{ _: [ 'test' ], name: 'oti', male: true, female: 'false', 'rain bringer': true, note: 'oti is not real name.', '$0': '/Users/tkg/.nodebrew/current/bin/gulp' }
[11:34:21] Finished 'conslog' after 1.83 ms</code></p>
<div class="border"></div>
<p>Below <span class="elem"><pre></span> element has '<span translate="no">translate=no</span>'.</p>
<pre translate="no" class="target">[11:34:21] Using gulpfile ~/develop/mbrs/test-yargs/gulpfile.js
[11:34:21] Starting 'test'...
{ _: [ 'test' ], name: 'oti', male: true, female: 'false', 'rain bringer': true, note: 'oti is not real name.', '$0': '/Users/tkg/.nodebrew/current/bin/gulp' }
[11:34:21] Finished 'conslog' after 1.83 ms</pre>
<div class="border"></div>
<p>Below <span class="elem"><samp></span> element has '<span translate="no">translate=no</span>'.</p>
<p><samp translate="no" class="target">[11:34:21] Using gulpfile ~/develop/mbrs/test-yargs/gulpfile.js [11:34:21] Starting 'test'... { _: [ 'test' ], name: 'oti', male: true, female: 'false', 'rain bringer': true, note: 'oti is not real name.', '$0': '/Users/tkg/.nodebrew/current/bin/gulp' } [11:34:21] Finished 'conslog' after 1.83 ms</samp></p>
<div class="border"></div>
<p>Below <span class="elem"><kbd></span> element has '<span translate="no">translate=no</span>'.</p>
<p><kbd translate="no" class="target">[11:34:21] Using gulpfile ~/develop/mbrs/test-yargs/gulpfile.js [11:34:21] Starting 'test'... { _: [ 'test' ], name: 'oti', male: true, female: 'false', 'rain bringer': true, note: 'oti is not real name.', '$0': '/Users/tkg/.nodebrew/current/bin/gulp' } [11:34:21] Finished 'conslog' after 1.83 ms</kbd></p>
<div class="border"></div>
<p>Below is nesting '<span translate="no">translate</span>' sample. outer <span class="elem"><div></span> element has '<span translate="no">translate=no</span>'. inner <span class="elem"><p></span> element has '<span translate="no">translate=yes</span>'.</p>
<div translate="no" class="target">
<p translate="yes">this p element has 'translate=yes'. below <span class="elem"><pre></span> element doesn't have 'translate' attribute. these parent <span class="elem"><div></span> element has 'translate=no'.</p>
<pre>[11:34:21] Using gulpfile ~/develop/mbrs/test-yargs/gulpfile.js
[11:34:21] Starting 'test'...
{ _: [ 'test' ], name: 'oti', male: true, female: 'false', 'rain bringer': true, note: 'oti is not real name.', '$0': '/Users/tkg/.nodebrew/current/bin/gulp' }
[11:34:21] Finished 'conslog' after 1.83 ms</pre>
</div>
<hr>
<p><a href="/archives/69.html">back to post</a></p>
<footer class="demo-footer"><small class="demo-footer__item">published by <a href="https://dsld.jp/">dskd.jp</a> on <time datetime="2015-10-20T03:17:22+09:00">2015-10-20</time></small>
<p class="demo-footer__item">related to<a href="https://dskd.jp/archives/69.html">https://dskd.jp/archives/69.html</a></p>
</footer>
</body>
</html>
Output
300px
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |