Would it be possible to have Modal that is not a fullscreen like in demo?
-
Hi,
Would it be possible to have Modal that is not a fullscreen like in demo?
https://onsen.io/v2/api/js/ons-modal.html#modalfor example, if I want to have modal that is 100px width. can yu do that with Onsen UI?
-
@jae, use CSS. Here is a sample:
<ons-modal direction="up" style="margin:auto;height: 100px;width: 100px;background:red;"> <div style="text-align: center"> <p> <ons-icon icon="md-spinner" size="28px" spin></ons-icon> Loading... </p> </div> </ons-modal>