0.0.7 • Published 4 years ago

iphone-simulation-view v0.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

VUE_IPHONE_SIMULATION_VIEW

Demo

Installing

npm install iphone-simulation-view --save

Usage

1.Custom Content(slot element):

    <iphone-simulation-view>
    <div><h1>Hello</h1></div>
    </iphone-simulation-view>

2.Message :

html:

    <iphone-simulation-view contentType="message" :messagesData="messagesData"></iphone-simulation-view>

script:

    <script>
        import IphoneSimulationView from "iphone-simulation-view";
        export default {
        components: {
            IphoneSimulationView
        },
        data: () => ({
        messagesData:[
            {
            user: "manager",
            text:
                "Hello",
            img:
                "image url..."
            },
            { user: "customer", text: "Hello", img: "" }
            ]
        })
        };
        </script>
0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago