{"id":1354,"date":"2018-10-25T20:17:39","date_gmt":"2018-10-25T20:17:39","guid":{"rendered":"https:\/\/lab.florianschwarz.net\/PennController\/?post_type=yada_wiki&#038;p=1354"},"modified":"2018-10-30T16:18:50","modified_gmt":"2018-10-30T16:18:50","slug":"zzz-standard-settings-visible","status":"publish","type":"yada_wiki","link":"https:\/\/lab.florianschwarz.net\/PennController\/wiki\/zzz-standard-settings-visible\/","title":{"rendered":"standard.settings.visible"},"content":{"rendered":"<p class='command-format'><code>getElement(id).settings.visible()<\/code> <em>(since beta 0.3)<\/em><\/p>\n<p>Makes the element visible (again). This is useful if you previously hid the element with <code>.settings.hidden<\/code>.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<p>[js highlight=&#8221;13&#8243; try=&#8221;true&#8221;]newText(&#8220;instruction&#8221;, &#8220;Guess what fruit is in the image below&#8221;)<br \/>\n    .print()<br \/>\n,<br \/>\nnewImage(&#8220;fruit&#8221;, &#8220;pear.png&#8221;)<br \/>\n    .settings.hidden()<br \/>\n    .print()<br \/>\n,<br \/>\nnewButton(&#8220;reveal&#8221;, &#8220;Reveal fruit&#8221;)<br \/>\n    .print()<br \/>\n    .wait()<br \/>\n,<br \/>\ngetImage(&#8220;fruit&#8221;)<br \/>\n    .settings.visible()<br \/>\n[\/js]<\/p>\n<p>Adds some text to the page, a blank space below it and a button below the blank space which, when clicked, reveals an image of a pear.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"wiki_cats":[16,17,18,13,5,4,20,21,23,14,34,25,26,27,30,31,12],"wiki_tags":[],"class_list":["post-1354","yada_wiki","type-yada_wiki","status-publish","hentry","wiki_cats-audio-element","wiki_cats-button-element","wiki_cats-canvas-element","wiki_cats-command","wiki_cats-documentation","wiki_cats-element","wiki_cats-html-element","wiki_cats-image-element","wiki_cats-scale-element","wiki_cats-settings-command","wiki_cats-standard-elements","wiki_cats-text-element","wiki_cats-textinput-element","wiki_cats-tooltip-element","wiki_cats-video-element","wiki_cats-voicerecorder-element","wiki_cats-youtube-element-element"],"_links":{"self":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki\/1354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki"}],"about":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/types\/yada_wiki"}],"author":[{"embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/comments?post=1354"}],"version-history":[{"count":7,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki\/1354\/revisions"}],"predecessor-version":[{"id":1578,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki\/1354\/revisions\/1578"}],"wp:attachment":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/media?parent=1354"}],"wp:term":[{"taxonomy":"wiki_cats","embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/wiki_cats?post=1354"},{"taxonomy":"wiki_tags","embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/wiki_tags?post=1354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}