defined
export const Test=Class.create({
name:'Test',
fields:{
title:{
type:String
}
},
meteorMethods: {
methord(){
console.log(1)
}
}
})
use class & meteorMethods
let test=new Test();
test.methord();
console print number 1
but,i hope this
Test.Print();
console print number 1
how to define?
i hope method Print();
,it is static method