mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(all): enable strictPropertyInitialization
This commit is contained in:
@ -6,27 +6,27 @@ import { Config } from '../../index';
|
||||
})
|
||||
export class RefresherContent {
|
||||
|
||||
@Prop({ context: 'config' }) config: Config;
|
||||
@Prop({ context: 'config' }) config!: Config;
|
||||
|
||||
/**
|
||||
* A static icon to display when you begin to pull down
|
||||
*/
|
||||
@Prop({ mutable: true }) pullingIcon: string;
|
||||
@Prop({ mutable: true }) pullingIcon?: string;
|
||||
|
||||
/**
|
||||
* The text you want to display when you begin to pull down
|
||||
*/
|
||||
@Prop() pullingText: string;
|
||||
@Prop() pullingText?: string;
|
||||
|
||||
/**
|
||||
* An animated SVG spinner that shows when refreshing begins
|
||||
*/
|
||||
@Prop({ mutable: true }) refreshingSpinner: string;
|
||||
@Prop({ mutable: true }) refreshingSpinner?: string;
|
||||
|
||||
/**
|
||||
* The text you want to display when performing a refresh
|
||||
*/
|
||||
@Prop() refreshingText: string;
|
||||
@Prop() refreshingText?: string;
|
||||
|
||||
|
||||
protected componentDidLoad() {
|
||||
|
||||
Reference in New Issue
Block a user