Skip to content

Instantly share code, notes, and snippets.

@pavei
Last active April 4, 2022 01:43
Show Gist options
  • Save pavei/f1c7f00a619200eb572356ec7422a292 to your computer and use it in GitHub Desktop.
Save pavei/f1c7f00a619200eb572356ec7422a292 to your computer and use it in GitHub Desktop.
window.MyLoginZoidComponent = zoid.create({
dimensions: {
width: '300px',
height: '200px',
},
// The html tag used to render my component
tag: 'my-login-component',
// The url that will be loaded in the iframe or popup, when someone includes my component on their page
url: "http://localhost:4201",
buttonClick: {
type: 'function',
required: true
},
close: {
type: 'function',
required: true
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment