File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed
src/components/form-inputs/button Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 110110 "methods" : {
111111 "loading" : {
112112 "description" : " Set loading state of the button." ,
113+ "type" : " JQuery" ,
113114 "params" : {
114115 "state" : {
115116 "type" : " boolean" ,
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export interface IButton {
8989 /**
9090 * Set loading state of the button.
9191 */
92- loading ( state : boolean )
92+ loading ( state : boolean ) : JQuery
9393}
9494
9595export interface ICalendar {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { IButton } from '../../../../lib/interface'
88} )
99export class Button extends _ButtonBase implements IButton {
1010
11- loading ( state : boolean ) {
11+ loading ( state : boolean ) : JQuery {
1212 let element = $ ( this . $el )
1313 if ( state )
1414 return element . addClass ( 'loading' )
Original file line number Diff line number Diff line change 55 "methods" : {
66 "loading" : {
77 "description" : " Set loading state of the button." ,
8+ "type" : " JQuery" ,
89 "params" : {
910 "state" : {
1011 "type" : " boolean" ,
You can’t perform that action at this time.
0 commit comments