Adds columns() and column() aliases.
This commit is contained in:
parent
8800fb2ec7
commit
dce7898af3
2
bulma.js
2
bulma.js
@ -15,6 +15,8 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
container: alias('div.container'),
|
container: alias('div.container'),
|
||||||
footer: alias('footer.footer'),
|
footer: alias('footer.footer'),
|
||||||
|
columns: alias('div.columns'),
|
||||||
|
column: alias('div.column'),
|
||||||
box: function(args, children){
|
box: function(args, children){
|
||||||
return h('div.box', args, children);
|
return h('div.box', args, children);
|
||||||
},
|
},
|
||||||
|
3
bulma.ls
3
bulma.ls
@ -14,6 +14,9 @@ module.exports = {
|
|||||||
container: alias \div.container
|
container: alias \div.container
|
||||||
footer: alias \footer.footer
|
footer: alias \footer.footer
|
||||||
|
|
||||||
|
columns: alias \div.columns
|
||||||
|
column: alias \div.column
|
||||||
|
|
||||||
box: (args, children) ->
|
box: (args, children) ->
|
||||||
h \div.box args, children
|
h \div.box args, children
|
||||||
title: (level, args, label) ->
|
title: (level, args, label) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user