You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
454 B
24 lines
454 B
const mixinComponent = require("./mixin-component")
|
|
|
|
const janComponent = function(options = {}) {
|
|
options = mixinComponent(
|
|
{
|
|
options: {
|
|
addGlobalClass: true
|
|
},
|
|
externalClasses: ["custom-class", "customClass"],
|
|
properties: {
|
|
customClass: String
|
|
},
|
|
data: {
|
|
_class: "",
|
|
_style: ""
|
|
},
|
|
methods: {}
|
|
},
|
|
options
|
|
)
|
|
return options
|
|
}
|
|
|
|
module.exports = janComponent
|