Coder Social home page Coder Social logo

套件问题 about front-end-articles HOT 2 CLOSED

woai3c avatar woai3c commented on July 26, 2024
套件问题

from front-end-articles.

Comments (2)

woai3c avatar woai3c commented on July 26, 2024

请在具体的项目下提问题.

from front-end-articles.

woai3c avatar woai3c commented on July 26, 2024

左边的组件栏,每一项都应该是一个组件。你说的套件,应该是一个比较复杂的组件,可以给当前组件设一个 children 属性,数组项为它的子组件。这样父子组件之间的属性就可以实现联动了。

如果是指属性联动,例如动画、样式这些,目前属性面板都只针对最顶层的组件,无法对嵌套的子组件进行更改。如果要实现这种效果,可以做一个独立的面板。当用户点击一个组件时,在该组件弹出一些选项,例如属性面板、事件、动画等等。这样就可以做到对嵌套子组件进行属性修改了。

from front-end-articles.

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.