JSFiddle - React, Tailwind, and code Playground

by Kevin Kirchner

HTML

<div autodb-collection="projects" ng-app>
    <ul autodb-list="project">
        <!-- the list of items are automatically pulled from a db like Mongo's list "project", collection "projects" -->
        <li autobd-document ng-repeat="project in [{name: 'ACME'},{name: 'AngularBootstrap'}]">
            <input type="text" value="{{project.name}}"/>
            <!-- saves to database at pauses when typing -->
            <autodb-feedback><!-- show hides the applicable feedback -->
                <autodb-placehoder>Text before any action is taken</autodb-placehoder>
                <autodb-loading>Loading Content</autodb-loading>
                <autodb-success>Success Content</autodb-success>
                <autodb-error>Error Content</autodb-error>
                <autodb-updated>Notification that someone else updated this and the change was pulled in realtime</autodb-updated>
            </autodb-feedback>
        </li>
    </ul>
</div>