{"result":{"depiction_url":null,"edges":{"subject":{"objects":[{"created":"2026-09-30T09:11:23Z","object_id":{"id":2555,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_reference","title":"Reference","uri":"https:\/\/zotonic.com\/id\/2555"},"seq":1},{"created":"2026-09-30T09:11:23Z","object_id":{"id":2563,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_frontend_developer","title":"Frontend developer","uri":"https:\/\/zotonic.com\/id\/2563"},"seq":2},{"created":"2026-09-30T09:11:23Z","object_id":{"id":2583,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_user_interface_and_interaction","title":"User interface and interaction","uri":"https:\/\/zotonic.com\/id\/2583"},"seq":3},{"created":"2026-09-30T09:11:23Z","object_id":{"id":2625,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_model","title":"Model","uri":"https:\/\/zotonic.com\/id\/2625"},"seq":4},{"created":"2026-09-30T09:11:23Z","object_id":{"id":2673,"is_a":["categorization","keyword","keyword_technology"],"name":"zotonic_topic_javascript","title":"JavaScript","uri":"https:\/\/zotonic.com\/id\/2673"},"seq":5},{"created":"2026-09-30T09:11:23Z","object_id":{"id":2718,"is_a":["categorization","keyword","keyword_technology"],"name":"zotonic_topic_cotonic","title":"Cotonic","uri":"https:\/\/zotonic.com\/id\/2718"},"seq":6},{"created":"2026-09-30T09:11:23Z","object_id":{"id":2721,"is_a":["categorization","keyword","keyword_technology"],"name":"zotonic_topic_dom","title":"Document Object Model","uri":"https:\/\/zotonic.com\/id\/2721"},"seq":7}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":2739,"is_a":["text","documentation","reference","cotonic_reference","cotonic_model"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2739"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_cotonic_model_autofocus","page_url":{"en":"https:\/\/zotonic.com\/cotonic\/models\/autofocus","x-default":"https:\/\/zotonic.com\/cotonic\/models\/autofocus"},"preview_url":null,"resource":{"version":15,"pivot_location_lat":null,"title":"model\/autofocus","is_authoritative":true,"body":"<a name=\"model.autofocus\"><\/a><h3>model\/autofocus<\/h3>\n\n            <p>\n            The autofocus model looks for elements with the <tt>autofocus<\/tt> attribute\n            which are just added to the dom tree. When this happens, it auto focusus them.\n            The reason for this is is that the <tt>autofocus<\/tt> attribute only works\n            during document render stage, but it is very handy to have available all the\n            time.\n            <\/p>\n\n            <a name=\"model.autofocus.event.focus.key\"><\/a><p>\n            <strong class=\"header\">event\/focus\/+key<\/strong>\n            <br \/>\n            The element with <tt>key<\/tt> has just been focussed.\n            <\/p>\n\n\n            <!-- serviceWorker model -->\n            ","slug":"model-autofocus","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"doc_source_hash":"fb679c08cb8186e0e1ea1652ddddf11a3858890c5745fc5baa2616f7ecebc865","is_featured":false,"content_group_id":{"id":2551,"is_a":["meta","content_group"],"name":"content_group_imported_docs","title":"Imported documentation","uri":"https:\/\/zotonic.com\/id\/content_group_imported_docs"},"category_id":{"id":2723,"is_a":["meta","category"],"name":"cotonic_model","title":"Cotonic models","uri":"https:\/\/zotonic.com\/id\/cotonic_model"},"doc_source_path":"index.html","publication_start":"2026-09-30T09:11:23Z","page_path":"\/cotonic\/models\/autofocus","github_url":"https:\/\/github.com\/cotonic\/cotonic\/blob\/master\/index.html","pivot_location_lng":null,"doc_source_kind":"cotonic","name":"doc_cotonic_model_autofocus","is_unfindable":false,"is_published":true,"pivot_geocode":null,"created":"2026-09-30T09:11:23Z","uri":null,"doc_source_anchor":"model.autofocus","doc_status":"current","is_dependent":false,"publication_end":"9999-06-01T00:00:00Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"privacy":0,"doc_source_commit":"694f9f9fd2e5c3e95c094eedbead6f844e243660","creator_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"modified":"2026-09-30T09:11:24Z","title_slug":"model-autofocus"},"uri":"https:\/\/zotonic.com\/id\/2739","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2739"}},"status":"ok"}