A bare bones front-end for knockout designed for maximum compatibility with "obsolete" browsers
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
|
- <?php
-
- namespace App\BbCode\Tag;
-
- use Knockout\BbCode\Tag\SimpleTag;
-
- class HeadingTwo extends SimpleTag
- {
-
- public function getCloseHtmlTag(): string
- {
- return '</h2>';
- }
-
- public function getOpenHtmlTag(): string
- {
- return '<h2>';
- }
-
- public function getTag() : string
- {
- return 'h2';
- }
- }
|