Git Product home page Git Product logo

Comments (4)

extracold1209 avatar extracold1209 commented on August 10, 2024

@shl0122

Sprite Modal 이 오브젝트 추가하기 팝업을 말씀하시는건가요?

entryjs 는 확인하신바와 같이 해당 이벤트를 dispatch 하기만 합니다.
해당 팝업의 경우 엔트리 웹에서 직접 구현한 부분입니다.
팝업 형태는 entry-tool 에서 구현되어있습니다만 entryjs 에서 dispatch 된 이벤트를 통해 팝업을 띄우는 로직은 내부코드로 보셔야 할 것 같습니다.

entryjs 에서 event dispatch
-> entry web 에서 이벤트를 받고, 오브젝트 추가하기 화면 띄움
-> 선택시 서버에 가지고있는 오브젝트를 가져와 entryjs 에 주입

과 같은 방식을 가지고 있습니다.
이와 같은 동작을 정상적으로 확인해보고 싶으시다면, 엔트리의 오프라인 프로젝트인 https://github.com/entrylabs/entry-offline 에서 코드를 확인해보실 수 있습니다.

from entryjs.

shl0122 avatar shl0122 commented on August 10, 2024

빠르고 정확한 답변 감사합니다 (__)!
entryjs 에서 dispatch 된 이벤트를 통해 팝업을 띄우는 로직은 내부코드로 보셔야 할 것 같습니다.
라는 말씀이 엔트리측 내부코드라 공개가 안되어있다는 말씀이신지,
entry-tool에 내부에 구현되어 있다는 말씀이신지 여쭤보고싶습니다.

from entryjs.

extracold1209 avatar extracold1209 commented on August 10, 2024

@shl0122

네. 팝업을 생성하는 부분은 entry-tool에 구현되어있지만, entryjs 와 연동하여 데이터를 주입하는 전체 로직은 공개되어있지 않습니다.
하지만 오프라인 프로젝트의 workspace.jsx 부분이 운영 페이지와 거의 동일하므로 이쪽을 확인해보세요.

from entryjs.

shl0122 avatar shl0122 commented on August 10, 2024

네 감사합니다!
근 2년째 오픈소스를 통해 경험을 쌓고있는데, 늘 존경합니다 ^^7
언젠가 뵐수있는날이 오면 좋겠네요 !

from entryjs.

Related Issues (20)

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.