fogbender / fogbender-oss Goto Github PK
View Code? Open in Web Editor NEWOpen source packages to work with fogbender.com
License: MIT License
Open source packages to work with fogbender.com
License: MIT License
In order to create GITHUB_TOKEN which is limited to one repo you have to create OAuth app and install it. We are following this guide https://wesbos.com/scoped-github-access-token
App ID
and private key file{ token: 'ghs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' }
FOG_OSS_GITHUB_TOKEN
we use https://turborepo.org/ in our main project, and we can reuse something like https://github.com/withastro/astro/blob/main/turbo.json as a template
https://stackblitz.com/edit/node-sdykxj?file=index.js
running "node index.js" crashes server because this package is incompatible with server environments
we need to have separate server/browser entries for fogbender-element
similar to how we do it for fobbender
:
Let's use https://www.npmjs.com/package/fogbender as the templates. Add https://codepen.io/jlarky/pen/vYjVYxM?editors=1010 as an example. Also we need to add fogbender-element to main README
See https://demo1.fogbender.com/showcase for examples of usage
In fogbender
package adaptIFrame
function is called to change iframe size when window is resizing.
We already have disableFit
option in renderIframe
. So we might want to support that prop in fogbender-react
or add a new one that can do custom resizing logic:
const onResize = (el: HTMLIFrameElement) => {
el.style.height = `${window.innerHeight - 60}px`;
};
so to override resizing logic, we can simply add something like this in adaptIFrame
:
if (onResize) {
return onResize(iFrame);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.