开始/结束括号表示一个不带参数的函数。
The open/close parentheses denote a function that takes no parameters.
如果不带参数调用,该方法将移除当前选中的元素。
If called with no parameters, it will remove the currently selected elements.
只有不带参数的公共方法能注释为生命周期方法。
Only public methods that have no arguments can be annotated as lifecycle methods.
应用推荐