UNPKG

@nent/core

Version:

Functional elements to add routing, data-binding, dynamic HTML, declarative actions, audio, video, and so much more. Supercharge static HTML files into web apps without script or builds.

62 lines (59 loc) 5.05 kB
/* nent custom elements */ export { Action as NAction } from '../types/components/n-action/action'; export { ActionActivator as NActionActivator } from '../types/components/n-action-activator/action-activator'; export { App as NApp } from '../types/components/n-app/app'; export { Analytics as NAppAnalytics } from '../types/components/n-app-analytics/app-analytics'; export { ContentShare as NAppShare } from '../types/components/n-app-share/app-share'; export { AppTheme as NAppTheme } from '../types/components/n-app-theme/app-theme'; export { AppThemeSwitch as NAppThemeSwitch } from '../types/components/n-app-theme-switch/app-theme-switch'; export { Audio as NAudio } from '../types/components/n-audio/audio'; export { AudioMusicAction as NAudioActionMusic } from '../types/components/n-audio-action-music/audio-action-music'; export { AudioMusicLoad as NAudioActionMusicLoad } from '../types/components/n-audio-action-music-load/audio-action-music-load'; export { AudioSoundAction as NAudioActionSound } from '../types/components/n-audio-action-sound/audio-action-sound'; export { AudioSoundLoad as NAudioActionSoundLoad } from '../types/components/n-audio-action-sound-load/audio-action-sound-load'; export { AudioSwitch as NAudioSwitch } from '../types/components/n-audio-switch/audio-switch'; export { Content as NContent } from '../types/components/n-content/content'; export { ContentInclude as NContentInclude } from '../types/components/n-content-include/content-include'; export { ContentMarkdown as NContentMarkdown } from '../types/components/n-content-markdown/content-markdown'; export { ContentReference as NContentReference } from '../types/components/n-content-reference/content-reference'; export { ContentDataRepeat as NContentRepeat } from '../types/components/n-content-repeat/content-repeat'; export { ContentReveal as NContentReveal } from '../types/components/n-content-reveal/content-reveal'; export { ContentShow as NContentShow } from '../types/components/n-content-show/content-show'; export { ContentTemplate as NContentTemplate } from '../types/components/n-content-template/content-template'; export { Data as NData } from '../types/components/n-data/data'; export { DataCookie as NDataCookie } from '../types/components/n-data-cookie/data-cookie'; export { DataSession as NDataSession } from '../types/components/n-data-session/data-session'; export { DataStorage as NDataStorage } from '../types/components/n-data-storage/data-storage'; export { Elements as NElements } from '../types/components/n-elements/elements'; export { Presentation as NPresentation } from '../types/components/n-presentation/presentation'; export { PresentationAction as NPresentationAction } from '../types/components/n-presentation-action/presentation-action'; export { PresentationTimer as NPresentationTimer } from '../types/components/n-presentation-timer/presentation-timer'; export { NVideo as NVideo } from '../types/components/n-video/video'; export { VideoSwitch as NVideoSwitch } from '../types/components/n-video-switch/video-switch'; export { View as NView } from '../types/components/n-view/view'; export { ViewDetect as NViewDetect } from '../types/components/n-view-detect/view-detect'; export { ViewLink as NViewLink } from '../types/components/n-view-link/view-link'; export { ViewLinkBack as NViewLinkBack } from '../types/components/n-view-link-back/view-link-back'; export { ViewLinkList as NViewLinkList } from '../types/components/n-view-link-list/view-link-list'; export { ViewLinkNext as NViewLinkNext } from '../types/components/n-view-link-next/view-link-next'; export { ViewNotFound as NViewNotFound } from '../types/components/n-view-not-found/view-not-found'; export { ViewPrompt as NViewPrompt } from '../types/components/n-view-prompt/view-prompt'; export { ViewRouter as NViews } from '../types/components/n-views/views'; /** * Used to manually set the base path where assets can be found. * If the script is used as "module", it's recommended to use "import.meta.url", * such as "setAssetPath(import.meta.url)". Other options include * "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to * dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)". * But do note that this configuration depends on how your script is bundled, or lack of * bundling, and where your assets can be loaded from. Additionally custom bundling * will have to ensure the static assets are copied to its build directory. */ export declare const setAssetPath: (path: string) => void; export interface SetPlatformOptions { raf?: (c: FrameRequestCallback) => number; ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void; } export declare const setPlatformOptions: (opts: SetPlatformOptions) => void; export * from '../types';