Skip to content

Commit

Permalink
Add FIles
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdhilahiRWabwire committed Oct 11, 2024
1 parent e66a06a commit 6b606b6
Show file tree
Hide file tree
Showing 7 changed files with 347 additions and 228 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ dart run build_runner test
dart run build_runner watch

dart pub global activate webdev
```

OR

```shell
webdev build

webdev serve
Expand Down
9 changes: 9 additions & 0 deletions lib/css_object_model.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import 'package:web/web.dart';

// Cascading Style Sheet Object Model

// Cascading Style Sheet
CSSStyleSheet styleSheet = CSSStyleSheet();

// Array of Cascading Style Sheets
StyleSheetList styleSheetArray = document.styleSheets;
227 changes: 0 additions & 227 deletions lib/elements.dart

This file was deleted.

43 changes: 43 additions & 0 deletions lib/html_attributes.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import 'package:web/web.dart';

// Hypertext Markup Language Attributes

Attr accept = document.createAttribute('accept');

Attr autoComplete = document.createAttribute('autocomplete');

Attr capture = document.createAttribute('capture');

Attr crossOrigin = document.createAttribute('crossorigin');

Attr directionName = document.createAttribute('dirname');

Attr disabled = document.createAttribute('disabled');

Attr elementTiming = document.createAttribute('elementtiming');

Attr forAttribute = document.createAttribute('for');

Attr maximumValue = document.createAttribute('max');

Attr maximumLength = document.createAttribute('maxlength');

Attr minimumValue = document.createAttribute('min');

Attr minimumlength = document.createAttribute('minlength');

Attr multiple = document.createAttribute('multiple');

Attr pattern = document.createAttribute('pattern');

Attr placeHolder = document.createAttribute('placeholder');

Attr readOnly = document.createAttribute('readonly');

Attr resourceRelationship = document.createAttribute('rel');

Attr required = document.createAttribute('required');

Attr size = document.createAttribute('size');

Attr steppingInterval = document.createAttribute('step');
Loading

0 comments on commit 6b606b6

Please sign in to comment.