Skip to content

Latest commit

 

History

History
33 lines (31 loc) · 712 Bytes

README.md

File metadata and controls

33 lines (31 loc) · 712 Bytes

Birdel - microframework for rails

Generate component

$ birdel gcom Ui::Bentries::Home::HomeComponent

Generate entry

$ birdel gent Home

Sync css and js

$ birdel synth

Send request

window.Birdel.send({
  actor: "ui__angry_cat_actor",
  method: "get_article",
  required_component: "ui--mix--article-component", // or false
  inputs: {
    articleId: 69
  },
  callback: {
    "component":   "ui--entries--home-component",
    "actor":       "home-component-actor",
    "method":      "showArticle",
    "resourceId": false //or ID of your actor
  } // or false
})

Full documentation is not ready and will be at https://digitalthing.io/docs/birdel, well, sorry😄