We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2458428 commit a3cfd7eCopy full SHA for a3cfd7e
README.md
@@ -51,8 +51,6 @@ in pure Ruby using various DSLs.
51
52
```ruby
53
class MyComponent < Lissio::Component
54
- tag class: 'my-component'
55
-
56
on :click, '.title' do
57
alert 'You clicked on the title'
58
end
@@ -67,15 +65,13 @@ class MyComponent < Lissio::Component
67
65
68
66
69
css do
70
- rule '.my-component' do
71
- rule '.title' do
72
- font size: 32.px
73
- end
74
75
- rule '.subtitle' do
76
- font size: 18.px,
77
- style: :italic
78
+ rule '.title' do
+ font size: 32.px
+ end
+
+ rule '.subtitle' do
+ font size: 18.px,
+ style: :italic
79
80
81
0 commit comments