Coder Social home page Coder Social logo

Comments (4)

marchant avatar marchant commented on September 24, 2024

Afonso, where do the DOM modification happen in repetition outside draw?

On Jan 30, 2012, at 2:18 PM, António Afonso wrote:

At the moment the repetition is writing into the DOM outside of its draw function.
Since I want to make the DCC implementation (setting the contents) to only act in the draw function I also need to change the repetition to act within the draw function.


Reply to this email directly or view it on GitHub:
https://github.com/Motorola-Mobility/montage/issues/75

from montage.

aadsm avatar aadsm commented on September 24, 2024

When we're removing the original contents of the repetition, it's done at prepareForDraw, it's easy to move it to draw() but we also need to make the repetition to be reseted at any time its contents get changed in order to work nice with the List.

The List is also writing into the DOM outside of its draw cycle (when transplanting its childComponents to the repetition), so we need both to change to work with the new "content" property.

from montage.

marchant avatar marchant commented on September 24, 2024

Ok, got it, though List will most likely be de-emphasized when flow is ready to take over.

On Jan 30, 2012, at 2:47 PM, António Afonso wrote:

When we're removing the original contents of the repetition, it's done at prepareForDraw, it's easy to move it to draw() but we also need to make the repetition to be reseted at any time its contents get changed in order to work nice with the List.

The List is also writing into the DOM outside of its draw cycle (when transplanting its childComponents to the repetition), so we need both to change to work with the new "content" property.


Reply to this email directly or view it on GitHub:
https://github.com/Motorola-Mobility/montage/issues/75#issuecomment-3729580

from montage.

francoisfrisch avatar francoisfrisch commented on September 24, 2024

Closed by #82

from montage.

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.