Skip to content

intercellular/forkme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Fork Me on Github Cell

A cell.js component for the "Fork me on Github" banner.

Simply call ForkMe() with your repo URL as param.

screenshot


Demo

View the demo here


Usage

var app = {
  $cell: true,
  $components: [

    /******************

      Your app goes here 

    ******************/,

    ForkMe(YOUR_REPO_URL)

  ]
}

Example

<html>
<script src="https://www.celljs.org/cell.js"></script>
<script src="https://intercellular.github.io/forkme/forkme.js"></script>
<script>
var app = {
  $cell: true,
  $components: [

    // My App
    {
      class: "list",
      $components: [{
        $type: "h1", $text: "Hello World"
      }, {
        $type: "p", $text: "This is an example app"
      }]
    },
    
    // Fork Me on Github
    ForkMe("https://github.com/intercellular/forkme")

  ]
}
</script>
</html>

About

"Fork Me on Github" component in cell.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published