Skip to content
Discussion options

You must be logged in to vote

In your bindings, add x-ref, then you can use this.$refs.dialog.getClientHeight().

See https://github.com/alpinejs/alpine/blob/main/packages/ui/src/combobox.js#L288 for an example

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by arthurshlain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants