Skip to content

Conversation

@henrique-ft
Copy link
Owner

@henrique-ft henrique-ft commented Jan 1, 2025

Add ids for scoping @html_slice instance variable, usefull for rails controllers / views:

html_slice :some_id do # @html_slice[:some_id]
end

Add wraps:

html_slice wrap: ['<something>', '</something>'] do
end

@henrique-ft henrique-ft merged commit 29267ed into main Jan 1, 2025
1 check passed
@henrique-ft henrique-ft deleted the ids-and-wraps branch January 1, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants