SERVUS WELT
PIXELFOLIO.DEV ist meine Portfolio Webseite. Hier kannst du dir einen Überblick über meine Projekte und Tools schaffen. Wenn du sonst noch Fragen hast, kannst du mir gerne eine Nachricht unten im Kontaktformular hinterlassen.
PROGRAMMIER SPRACHEN
export default class Modal{
constructor(){
this.modalWrappers = document.querySelectorAll(".modal-wrapper");
this.modal;
this.events();
}
events(){
if(this.modalWrappers){
this.modalWrappers.forEach(modalWrapper => {
const myModal = modalWrapper.querySelector(".my-modal")
const openButton = modalWrapper.querySelector("#open-modal");
const closeButton = modalWrapper.querySelector("#close-modal");
openButton.onclick = ()=> this.handleOpenButton(myModal)
closeButton.onclick = ()=> this.handleCloseButton()
});
}
}
namespace FuhrparkmanagmentApp.ViewModels
{
internal partial class CarEditViewModel : ViewModelBase
{
private NavigationStore _navigationStore;
private int _currentCarId;
[ObservableProperty]
private Car _currentCar;
[ObservableProperty]
private Tier _selectedTier;
[ObservableProperty]
public string _uploadedImagePath;
[ObservableProperty]
public IEnumerable _allTiers;
[ObservableProperty]
public string _placeholderImage = "pack://application:,,,/Images/placeholder_image.png";
}
}
Function CalculateFactorial(n As Integer) As Long
If n <= 1 Then
CalculateFactorial = 1
Else
CalculateFactorial = n * CalculateFactorial(n - 1)
End If
End Function
Sub Main()
Dim num As Integer
num = 5
Dim result As Long
result = CalculateFactorial(num)
MsgBox "The factorial of " & num & " is " & result
End Sub
class PlaceholderBlock {
function __construct($name) {
$this->name = $name;
add_action("init", [$this, "onInit"]);
}
function ourRenderCallback($attributes, $content) {
ob_start();
require get_theme_file_path("/pixelfolio-blocks/{$this->name}.php");
return ob_get_clean();
}
function onInit() {
wp_register_script($this->name, get_stylesheet_directory_uri() . "/pixelfolio-blocks/{$this->name}.js", array("wp-blocks", "wp-editor"));
register_block_type("pixelfolio/{$this->name}", array(
"editor_script" => $this->name,
"render_callback" => [$this, "ourRenderCallback"]
));
}
}
PROGRAMMIER SPRACHEN
export default class Modal{
constructor(){
this.modalWrappers = document.querySelectorAll(".modal-wrapper");
this.modal;
this.events();
}
events(){
if(this.modalWrappers){
this.modalWrappers.forEach(modalWrapper => {
const myModal = modalWrapper.querySelector(".my-modal")
const openButton = modalWrapper.querySelector("#open-modal");
const closeButton = modalWrapper.querySelector("#close-modal");
openButton.onclick = ()=> this.handleOpenButton(myModal)
closeButton.onclick = ()=> this.handleCloseButton()
});
}
}
namespace FuhrparkmanagmentApp.ViewModels
{
internal partial class CarEditViewModel : ViewModelBase
{
private NavigationStore _navigationStore;
private int _currentCarId;
[ObservableProperty]
private Car _currentCar;
[ObservableProperty]
private Tier _selectedTier;
[ObservableProperty]
public string _uploadedImagePath;
[ObservableProperty]
public IEnumerable _allTiers;
[ObservableProperty]
public string _placeholderImage = "pack://application:,,,/Images/placeholder_image.png";
}
}
Function CalculateFactorial(n As Integer) As Long
If n <= 1 Then
CalculateFactorial = 1
Else
CalculateFactorial = n * CalculateFactorial(n - 1)
End If
End Function
Sub Main()
Dim num As Integer
num = 5
Dim result As Long
result = CalculateFactorial(num)
MsgBox "The factorial of " & num & " is " & result
End Sub
class PlaceholderBlock {
function __construct($name) {
$this->name = $name;
add_action("init", [$this, "onInit"]);
}
function ourRenderCallback($attributes, $content) {
ob_start();
require get_theme_file_path("/pixelfolio-blocks/{$this->name}.php");
return ob_get_clean();
}
function onInit() {
wp_register_script($this->name, get_stylesheet_directory_uri() . "/pixelfolio-blocks/{$this->name}.js", array("wp-blocks", "wp-editor"));
register_block_type("pixelfolio/{$this->name}", array(
"editor_script" => $this->name,
"render_callback" => [$this, "ourRenderCallback"]
));
}
}
EINBLICKE IN MEINE ARBEIT
FRAMEWORKS & TOOLS DIE ICH VERWENDE
console.log("Das ist kein Bug, das ist ein Feature!");