Git Product home page Git Product logo

Comments (3)

meowgorithm avatar meowgorithm commented on July 17, 2024

We'll plan on adding some examples, but what you're describing actually isn't as complicated as it appears. Lip Gloss just outputs strings, so you'd simply use Lip Gloss styles and functions in your Bubble Tea views (which also return strings). You could easily put the Lip Gloss example into a Bubble Tea view and replace various parts of the content with data from your model.

You might want to have a look at fm, which is using Lip Gloss in its views (and is in heavy development at the moment). In particular, check out the feature/panes branch which is using Lip Gloss to render two interactive views side-by-side.

from bubbletea.

bashbunni avatar bashbunni commented on July 17, 2024

Filmed a quick explanation of this - will edit + publish on YouTube and add PR with the link in the README

from bubbletea.

muesli avatar muesli commented on July 17, 2024

We also have a bunch more examples using lipgloss in the repo by now - I think we can close this issue.

from bubbletea.

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.