0.1.2 • Published 5 years ago

nav-empower-frontend v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

React component to interact with Opentext Exstream Empower editor

Props

editorApiPathProps
path: string, (full path, ie. https://example.com:8080/path?query#hash)
ferdigstillFunction?: Function, (callback for ferdigstill button)
enableDelete?: boolean (enable delete button, delete function is untested)
editorApiOptionProps
host: string, (host ie https://example.com:8080)
version?: string, (empower version)
locale?: string, (locale)
docId: string, (document ID)
showUserLogs?: string | boolean, (console logging toggle)
documentNumber?: string | number,
page?: string | number, 
ferdigstillFunction?: Function, (callback for ferdigstill button)
enableDelete?: boolean (enable delete button, delete function is untested)

Install

npm i nav-empower-frontend

Usage

<NavEmpowerFrontend [editorApiPathProps OR editorApiOptionProps] />