Skip to content

Plan: Create Angular directive #2

@htanjo

Description

@htanjo

Create an AngularJS directive for dyframe.js.

Usage:

<dyframe df-html="html" df-width="width" df-profile="profile"></dyframe>
angular.module('myApp', ['angularDyframe'])
.controller('MyController', function ($scope) {
  $scope.html = '<html><body>Hello, world!</body></html>';
  $scope.width = 1200;
  $scope.profile = 'smartphone';
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions