logo
  • 教程列表
  • SO官方文檔
  • 使用 Hyperloop 將 React.js 與 Rails 整合
    • 在 Rails 應用程式中新增一個簡單的反應元件(用 ruby 編寫)
    • 回撥
    • 宣告元件引數(道具)
    • HTML 標籤
    • 事件處理程式
    • 狀態
  1. StackOverflow 文件
  2. Ruby on Rails 教程
  3. 使用 Hyperloop 將 React.js 與 Rails 整合
  4. HTML 標籤

HTML 標籤

Created: November-22, 2018

# HTML tags are built in and are UPCASE
class HTMLExample < Hyperloop::Component
  render do
    DIV do
      SPAN { "Hello There" }
      SPAN { "Welcome to the Machine!" }
    end
  end
end
  • 事件處理程式
  • 宣告元件引數(道具)

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明