{"id":1363,"date":"2018-10-25T20:35:30","date_gmt":"2018-10-25T20:35:30","guid":{"rendered":"https:\/\/lab.florianschwarz.net\/PennController\/?post_type=yada_wiki&#038;p=1363"},"modified":"2018-10-30T16:21:19","modified_gmt":"2018-10-30T16:21:19","slug":"zzz-standard-remove","status":"publish","type":"yada_wiki","link":"https:\/\/lab.florianschwarz.net\/PennController\/wiki\/zzz-standard-remove\/","title":{"rendered":"standard.remove"},"content":{"rendered":"<p class='command-format'><code>getElement(id).remove()<\/code><\/p>\n<p>Removes the element from the screen. This has no effect for non-visual elements such as the purely interactive <a href=\"https:\/\/lab.florianschwarz.net\/PennController\/wiki\/324\/\" class=\"wikilink-published\">Selector elements<\/a>.<\/p>\n<p><strong>Note<\/strong> that this leaves no space where the element previously was on the page (this is really <em>removing<\/em> the element, not just <em>hiding<\/em> it).<\/p>\n<p><strong>Example<\/strong><\/p>\n<p>[js highlight=&#8221;4&#8243; try=&#8221;true&#8221;]<br \/>\nnewButton(&#8220;clickme&#8221;, &#8220;Click me&#8221;)<br \/>\n    .print()<br \/>\n    .wait()<br \/>\n    .remove()<br \/>\n[\/js]<\/p>\n<p>Adds a button that says <em>Click me<\/em> to the screen, and removes it after it is clicked.<\/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":[11,16,17,18,13,5,4,20,21,23,34,25,26,27,30,31,12],"wiki_tags":[],"class_list":["post-1363","yada_wiki","type-yada_wiki","status-publish","hentry","wiki_cats-action-command","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-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\/1363","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=1363"}],"version-history":[{"count":5,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki\/1363\/revisions"}],"predecessor-version":[{"id":1582,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki\/1363\/revisions\/1582"}],"wp:attachment":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/media?parent=1363"}],"wp:term":[{"taxonomy":"wiki_cats","embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/wiki_cats?post=1363"},{"taxonomy":"wiki_tags","embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/wiki_tags?post=1363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}