subtitle helper added.
This commit is contained in:
parent
4750470bab
commit
53c89d5262
7
bulma.js
7
bulma.js
@ -27,6 +27,13 @@
|
||||
}
|
||||
return h("div.title.is-" + level, args, [label]);
|
||||
},
|
||||
subtitle: function(level, args, label){
|
||||
if (!label) {
|
||||
label = args;
|
||||
args = {};
|
||||
}
|
||||
return h("div.subtitle.is-" + level, args, [label]);
|
||||
},
|
||||
label: function(args, label){
|
||||
if (!label) {
|
||||
label = args;
|
||||
|
Loading…
Reference in New Issue
Block a user