docs(loading): remove duplicated cssClass property in usage (#21784)

This commit is contained in:
Sebastián Ferreras
2020-07-23 23:42:58 +02:00
committed by GitHub
parent 470478d387
commit 8e1178b98b
5 changed files with 0 additions and 8 deletions

View File

@ -71,7 +71,6 @@ export class LoadingExample {
async presentLoadingWithOptions() { async presentLoadingWithOptions() {
const loading = await this.loadingController.create({ const loading = await this.loadingController.create({
cssClass: 'my-custom-class',
spinner: null, spinner: null,
duration: 5000, duration: 5000,
message: 'Click the backdrop to dismiss early...', message: 'Click the backdrop to dismiss early...',
@ -113,7 +112,6 @@ async function presentLoading() {
async function presentLoadingWithOptions() { async function presentLoadingWithOptions() {
const loading = document.createElement('ion-loading'); const loading = document.createElement('ion-loading');
loading.cssClass = 'my-custom-class';
loading.spinner = null; loading.spinner = null;
loading.duration = 5000; loading.duration = 5000;
loading.message = 'Click the backdrop to dismiss early...'; loading.message = 'Click the backdrop to dismiss early...';
@ -185,7 +183,6 @@ export class LoadingExample {
async presentLoadingWithOptions() { async presentLoadingWithOptions() {
const loading = await loadingController.create({ const loading = await loadingController.create({
cssClass: 'my-custom-class',
spinner: null, spinner: null,
duration: 5000, duration: 5000,
message: 'Click the backdrop to dismiss early...', message: 'Click the backdrop to dismiss early...',
@ -245,7 +242,6 @@ export default {
presentLoadingWithOptions() { presentLoadingWithOptions() {
return this.$ionic.loadingController return this.$ionic.loadingController
.create({ .create({
cssClass: 'my-custom-class',
spinner: null, spinner: null,
duration: this.timeout, duration: this.timeout,
message: 'Click the backdrop to dismiss early...', message: 'Click the backdrop to dismiss early...',

View File

@ -24,7 +24,6 @@ export class LoadingExample {
async presentLoadingWithOptions() { async presentLoadingWithOptions() {
const loading = await this.loadingController.create({ const loading = await this.loadingController.create({
cssClass: 'my-custom-class',
spinner: null, spinner: null,
duration: 5000, duration: 5000,
message: 'Click the backdrop to dismiss early...', message: 'Click the backdrop to dismiss early...',

View File

@ -16,7 +16,6 @@ async function presentLoading() {
async function presentLoadingWithOptions() { async function presentLoadingWithOptions() {
const loading = document.createElement('ion-loading'); const loading = document.createElement('ion-loading');
loading.cssClass = 'my-custom-class';
loading.spinner = null; loading.spinner = null;
loading.duration = 5000; loading.duration = 5000;
loading.message = 'Click the backdrop to dismiss early...'; loading.message = 'Click the backdrop to dismiss early...';

View File

@ -22,7 +22,6 @@ export class LoadingExample {
async presentLoadingWithOptions() { async presentLoadingWithOptions() {
const loading = await loadingController.create({ const loading = await loadingController.create({
cssClass: 'my-custom-class',
spinner: null, spinner: null,
duration: 5000, duration: 5000,
message: 'Click the backdrop to dismiss early...', message: 'Click the backdrop to dismiss early...',

View File

@ -30,7 +30,6 @@ export default {
presentLoadingWithOptions() { presentLoadingWithOptions() {
return this.$ionic.loadingController return this.$ionic.loadingController
.create({ .create({
cssClass: 'my-custom-class',
spinner: null, spinner: null,
duration: this.timeout, duration: this.timeout,
message: 'Click the backdrop to dismiss early...', message: 'Click the backdrop to dismiss early...',