Update new functions
This commit is contained in:
@@ -45,7 +45,7 @@ const BasicDemo = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(BasicDemo, '#demo-basic');
|
||||
Mount(BasicDemo, '#demo-basic');
|
||||
```
|
||||
|
||||
### Modal with Actions
|
||||
@@ -95,7 +95,7 @@ const ActionsDemo = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(ActionsDemo, '#demo-actions');
|
||||
Mount(ActionsDemo, '#demo-actions');
|
||||
```
|
||||
|
||||
### Form Modal
|
||||
@@ -164,7 +164,7 @@ const FormModal = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(FormModal, '#demo-form');
|
||||
Mount(FormModal, '#demo-form');
|
||||
```
|
||||
|
||||
### Confirmation Modal
|
||||
@@ -225,7 +225,7 @@ const ConfirmDemo = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(ConfirmDemo, '#demo-confirm');
|
||||
Mount(ConfirmDemo, '#demo-confirm');
|
||||
```
|
||||
|
||||
### Large Content Modal
|
||||
@@ -277,7 +277,7 @@ const LargeDemo = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(LargeDemo, '#demo-large');
|
||||
Mount(LargeDemo, '#demo-large');
|
||||
```
|
||||
|
||||
### Multiple Modals
|
||||
@@ -319,7 +319,7 @@ const MultipleDemo = () => {
|
||||
}, 'Please review your input before proceeding.')
|
||||
]);
|
||||
};
|
||||
$mount(MultipleDemo, '#demo-multiple');
|
||||
Mount(MultipleDemo, '#demo-multiple');
|
||||
```
|
||||
|
||||
### Custom Styled Modal
|
||||
@@ -356,7 +356,7 @@ const CustomDemo = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(CustomDemo, '#demo-custom');
|
||||
Mount(CustomDemo, '#demo-custom');
|
||||
```
|
||||
|
||||
<script>
|
||||
@@ -383,7 +383,7 @@ $mount(CustomDemo, '#demo-custom');
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(BasicDemo, basicTarget);
|
||||
Mount(BasicDemo, basicTarget);
|
||||
}
|
||||
|
||||
// 2. Modal with Actions
|
||||
@@ -426,7 +426,7 @@ $mount(CustomDemo, '#demo-custom');
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(ActionsDemo, actionsTarget);
|
||||
Mount(ActionsDemo, actionsTarget);
|
||||
}
|
||||
|
||||
// 3. Form Modal
|
||||
@@ -488,7 +488,7 @@ $mount(CustomDemo, '#demo-custom');
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(FormModal, formTarget);
|
||||
Mount(FormModal, formTarget);
|
||||
}
|
||||
|
||||
// 4. Confirmation Modal
|
||||
@@ -542,7 +542,7 @@ $mount(CustomDemo, '#demo-custom');
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(ConfirmDemo, confirmTarget);
|
||||
Mount(ConfirmDemo, confirmTarget);
|
||||
}
|
||||
|
||||
// 5. Large Content Modal
|
||||
@@ -587,7 +587,7 @@ $mount(CustomDemo, '#demo-custom');
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(LargeDemo, largeTarget);
|
||||
Mount(LargeDemo, largeTarget);
|
||||
}
|
||||
|
||||
// 6. Multiple Modals
|
||||
@@ -622,7 +622,7 @@ $mount(CustomDemo, '#demo-custom');
|
||||
}, 'Please review your input before proceeding.')
|
||||
]);
|
||||
};
|
||||
$mount(MultipleDemo, multipleTarget);
|
||||
Mount(MultipleDemo, multipleTarget);
|
||||
}
|
||||
|
||||
// 7. Custom Styled Modal
|
||||
@@ -652,7 +652,7 @@ $mount(CustomDemo, '#demo-custom');
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(CustomDemo, customTarget);
|
||||
Mount(CustomDemo, customTarget);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user