Skip to content

How to use spinner container? #1784

Discussion options

You must be logged in to vote

Hi @kemeris2000
It's actually a little simpler than this.
On the blocks page in the docs see "Blocks loading" https://docs.lowdefy.com/blocks

      - id: a_block
        type: Span
        loading:
          _eq:
            - _state: spinner_state
            - true
        skeleton:
          type: Spinner
        properties:
          content: Conent when not loading

However, if you want to use the spinner with state management like in your example, maybe the visible key is what you are looking for?

             - id: d20dce1d-2e6c-47c7-890e-2336f89b5917
                type: Button
                properties:
                  title: Show spinner
                events:
              …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kemeris2000
Comment options

@Gervwyk
Comment options

Answer selected by kemeris2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants