Content - Inline model editing


Introduction

Much like inline content editing, you can use the content plugin to edit model object data inline. However, unlike content editing, there is no existing API to edit model data, so you will need to set up your endpoints manually. This is a pretty simple process and described in detail below.

Enable inline model editing

To enable inline model editing you simply need to load up the proper javascript files that perform the underlying tasks and enable the necessary data-attributes described below.

[todo: add docs]

Create an endpoint

Creating an endpoint works exactly like creating any other admin interface in Outlast Framework. You set a __load() method for authentication and create your CRUD methods that do the hard work.

Here’s an example endpoint with the proper data-attributes used to enable inline editing:
[todo: add docs]

Data attribute reference

[todo: add docs]

Outlast Web & Mobile Development (c) 2019 | Privacy Policy |