ไอรอน-เอแจ็ก...วัด?!
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อาจจะดูไม่คาดคิด แต่การใช้องค์ประกอบสำหรับ AJAX นั้นทำได้ดีมากเลย ในตอนนี้ เราจะแสดงวิธีสร้างตัวดึงข้อมูลปัญหา GitHub แบบง่ายโดยใช้ HTML เป็นหลัก เมื่อรวมผู้ให้บริการข้อมูลเข้ากับการเชื่อมโยงที่น่าทึ่ง คุณจะนำ JavaScript ส่วนใหญ่ในแอปออกได้ วิธีนี้จะช่วยให้ดูแลสิ่งต่างๆ ได้ง่ายขึ้น
อ่านเพิ่มเติม
แหล่งที่มาของการสาธิต
https://github.com/Polymer/polycasts/tree/master/ep26-iron-ajax/gh-issues
Seed-Element
https://github.com/polymerelements/seed-element
เครื่องกำเนิดโพลิเมอร์ Yeoman
https://github.com/yeoman/generator-polymer
แบบ Polyserve
https://github.com/polymerlabs/polyserve
API ของ GitHub
https://developer.github.com/v3/
เอกสาร iron-ajax
https://elements.polymer-project.org/elements/iron-ajax
การประชุมสุดยอดโพลิเมอร์
https://www.polymer-project.org/summit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-25 UTC"],[],["The core content demonstrates building a GitHub issue fetcher primarily using HTML and the `iron-ajax` element. It emphasizes leveraging data providers and bindings to minimize JavaScript code. This approach simplifies application maintenance. The content provides resources including the demo source code, documentation for `iron-ajax`, GitHub API information, and links to Polymer-related tools such as Polyserve and the Polymer Yeoman generator.\n"]]