Skip to content

useMetaViewport

Package
@maas/vue-equipment/composables
Last Changed
3 days ago

Set and reset the meta viewport tag programatically. The default value prevents zooming on iOS.

Demo

Usage

ts
import { useMetaViewport } from '@maas/vue-equipment/composables'

const { setMetaViewport, resetMetaViewport } = useMetaViewport()

Released under the MIT License.