Giter Club home page Giter Club logo

quick-cover's Introduction

Quick-cover

Quickly create a cover image for your article.

quick-cover's People

Contributors

manojsinghnegiwd avatar puranchand avatar rocksinghajay avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

quick-cover's Issues

Ability to download current canvas

I need a button which says Download by clicking on it user can download current SVG canvas from the browser as a PNG.

My best guess to solve this problem will be converting the current SVG canvas to base64 and then download it as a PNG.

Ability to highlight Elements

We have to add the ability to height elements on click. The solution will be universal and should be applicable to any element despite the element type.

Ability to specify SVG canvas width and height

I want to create a new Home Page route where the user can enter width and height and have a button which says Create.

Once clicked on that button redirect page to our editing area and set the SVG canvas width and height to what user entered.

Move elements mapped array to its own component `ElementList`

quick-cover/src/App.js

Lines 188 to 209 in 0078f4f

{
elements.map(
(element, index) => {
const { component, props, position} = element
const { onMovableActive, onMovableDown } = this;
const ComponentToRender = component
const ComponentProps = {
...props,
position
}
return (
<ComponentToRender
key={index}
onMovableActive={onMovableActive(index)}
onMovableDown={onMovableDown}
{...ComponentProps}
/>
)
}
)
}

I want to move this mapped array to its own component which will be named ElementList.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.