How to use the svelte-native/dom.registerNativeConfigElement function in svelte-native

To help you get started, we’ve selected a few svelte-native examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github halfnelson / svelte-native-nativescript-ui / src / dataform / index.ts View on Github external
const registerConfigElement = (tag: string, native: new () => any, setsParentProp: string = null, propconfig: NativeElementPropConfig = {}) => 
            registerNativeConfigElement(tag, () => native, setsParentProp, propconfig)
github halfnelson / svelte-native-nativescript-ui / src / gauge / index.ts View on Github external
const registerConfigElement = (tag: string, native: new () => any, setsParentProp: string = null, propconfig: NativeElementPropConfig = {}) => 
            registerNativeConfigElement(tag, () => native, setsParentProp, propconfig)
github halfnelson / svelte-native-nativescript-ui / src / chart / index.ts View on Github external
const registerConfigElement = (tag: string, native: new () => any, parentProp: string = null) => 
            registerNativeConfigElement(tag, () => native, parentProp)