Skip to content

Instantly share code, notes, and snippets.

@DmitrySikorsky
Last active June 7, 2018 13:13
Show Gist options
  • Save DmitrySikorsky/be86ef458f47abb10f7ebd703b04c3dc to your computer and use it in GitHub Desktop.
Save DmitrySikorsky/be86ef458f47abb10f7ebd703b04c3dc to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<link href="//cdn.flexir.io/stable/flexir.min.css" rel="stylesheet" />
</head>
<body>
<div id="flexir"></div>
<script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.11.3.min.js"></script>
<script src="//cdn.flexir.io/stable/flexir.min.js"></script>
<script>
$(document).ready(
function () {
var f = flexir.initialize($("#flexir"));
f.onChange(
function () {
var html = f.html();
}
);
f.new(50, 20);
}
);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment